Project

General

Profile

Bug #621

Error Installing New Gems While Running Bundle Install

Added by Daniel Curtis over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Web Server
Target version:
Start date:
05/28/2015
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:

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

#1

Updated by Daniel Curtis over 9 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
#2

Updated by Daniel Curtis over 9 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF