cucumber/cucumber-rails — Issue #202: Wrong warning message with bundler 1.1
Author: betelgeuse
Created: 2012-03-08 09:57:10+00:00
State: open

Bundler 1.1 was just released and when I tested upgrade to it cucumber-rails started warning:

```
WARNING: Cucumber-rails required outside of env.rb. The rest of loading is being defered until env.rb is called.
To avoid this warning, move 'gem cucumber-rails' under only group :test in your Gemfile
```

https://github.com/cucumber/cucumber-rails/pull/171

From here I found I that the warning should be also telling to use :require => false. There is also interesting info here on possible wrong usage of namespaces: https://github.com/carlhuda/bundler/issues/1448#issuecomment-2220226
The warning and README should be updated to use :require => false in order for people to not get the warning (assuming the warning in general is valid).