Open booch opened 6 years ago
It would be nice to suggest that users run:
RAILS_ENV=test bundle exec rake spec:javascript
instead of
bundle exec rake spec:javascript
The later ends up loading Rails twice (due to the fact that if RAILS_ENV is not set, the rake task reruns itself with RAILS_ENV=test prepended).
RAILS_ENV
RAILS_ENV=test
Sure. At least until we can sort out how to resolve the underlying issue of defining a rake task at all under Rails 4+ without loading appliaction
LOL, yeah. I'm not sure there's actually a solution to that. :(
It would be nice to suggest that users run:
instead of
The later ends up loading Rails twice (due to the fact that if
RAILS_ENV
is not set, the rake task reruns itself withRAILS_ENV=test
prepended).