-
Notifications
You must be signed in to change notification settings - Fork 346
Description
I have been using spring since rails 4.1 released and I really like it. Yesterday we found that there's spring processes running on our production servers. We traced down and found that spring was started when we used rails console with command bundle exec rails console production
. We don't want it to be used on production.
Regards your comment on this at rails/rails#12958 (comment)
It's already handled by the fact that spring is in the development group of the gemfile. So it's not installed on the server. If it's not installed, the binstub just bypasses spring and runs the underlying command.
What we have experienced is different, spring is installed on our production servers even though it's in :development group.
I'm curious, do you expect us to run bundle install
with --without development
on production servers? We haven't had need for --without development
parameter. We have been using only bundle install --deployment
so far.
Maybe we should update the documentation for this?