【发布时间】:2011-10-10 18:25:00
【问题描述】:
无法在生产服务器上更新 gem。
我试过bundle install --deployment 和bundle install --without development test
但不断得到:
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.
If this is a development machine, remove the Gemfile freeze
by running `bundle install --no-deployment
编辑
我不知道这是否正确,但需要快速修复。我跑了bundle install --no-deployment 然后bundle update 然后又跑了bundle install --deployment
【问题讨论】:
标签: ruby ruby-on-rails-3 rubygems