added guard to Gemfile