When I run bundle exec rake test
in my rails app, I get the following message
Web Console is activated in the test environment, which 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
If you still want to run it the test environment (and know
what you are doing), put this in your Rails application
configuration:
config.web_console.development_only = false
However my Gemfile has web-console in both the test and the development environment
group :development, :test do
gem 'sqlite3'
gem 'byebug'
gem 'web-console'
gem 'spring'
end
This is exactly how I have it on my Cloud9 account which works fine, but I'm on a laptop running Ubuntu 14.04 and I'm having this issue. What's going on?