You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Web console complaining about being in the test environment but it is not. Warning shown after upgrade to 4.0.4
Warning seen:
Web Console is activated in the test environment. This is
usually a mistake. To ensure it's only activated in development
mode, move it to the development group of your Gemfile:
gem 'web-console', group: :development
Gemfile:
group :development do
gem 'web-console'
gem 'listen'
gem 'spring'
gem 'spring-watcher-listen'
end
The error happens when running bundle exec rake but not rake by itself.
The solution involved prepending RAILS_ENV=test to the bundle exec command or adding ENV['RAILS_ENV'] ||= 'test' at the top of the Rakefile bkeepers/dotenv#395 (comment)
Web console complaining about being in the test environment but it is not. Warning shown after upgrade to 4.0.4
Warning seen:
Gemfile:
The error happens when running
bundle exec rake
but notrake
by itself.Rakefile:
bin/rake:
While does
bundle exec
prefix seems to affect the rails environment?The text was updated successfully, but these errors were encountered: