Bug #621
Error Installing New Gems While Running Bundle Install
Description
I encountered an error while upgrading one of the ruby web applications I use, redmine in this case. The error happened when I ran bundle install
after updating the webapp, and stated:
You are trying to install in deployment mode after changing
your Gemfile. Run `bundle install` elsewhere and add the
updated Gemfile.lock to version control.
The Fix¶
- I found a fix on a google groups thread, run the following to update the gem in no-deployment mode and then deployment mode:
bundle install --without development test aws --path vendor/bundle --no-deployment bundle install --without development test aws --path vendor/bundle --deployment
Resources¶
Updated by Daniel Curtis over 9 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100