I am new to Rails. So apologize in advance if this is a stupid question. I went through Michael Hartle's book and tried to code the application myself.
I wrote some basic tests, but when trying to test the application with
$ bundle exec rake test
I get the following message on terminal
Web Console is activated in the test environment, which is
usually a mistake. To ensure it 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
When I add above to development.rb, it still doesn't matter.
Please help me understand what I'm doing wrong.
source
share