Closed
Description
Hi
I have rails 6 app deployed using:
bundle install --deployment --without=development test --quiet --path=... --gemfile=.../build/Gemfile
yet, running the rails console:
rails c
Running via Spring preloader in process 19088
WARNING: Spring is running in production. To fix this make sure the spring gem is only present in `development` and `test` groups in your Gemfile and make sure you always use `bundle install --without development test` in production
Loading production environment (Rails 6.0.1)
irb(main):001:0>
uses spring, yet spring is defined in the development section of Gemfile, not production.
group :development do
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
gem 'web-console', '>= 3.3.0'
gem 'listen', '>= 3.0.5', '< 3.2'
gem 'spring'
gem 'spring-watcher-listen', '~> 2.0.0'
gem 'spring-commands-rspec'
gem 'spring-commands-rubocop'
why is this so?
Metadata
Metadata
Assignees
Labels
No labels