【发布时间】:2016-10-18 13:48:05
【问题描述】:
我有一个登台服务器。我有一些问题要调查。但是我忘记在Gemfile 中添加byebug。我当然可以在本地添加它,运行bundle,提交到存储库,部署。但是没有更简单的方法吗?
当我尝试远程更改Gemfile 并运行bundle 时,我得到:
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 /home/gccs/website-backend/releases/20161018143057/Gemfile freeze
by running `bundle install --no-deployment`.
You have added to the Gemfile:
* byebug
gems 是用capistrano 安装的,基本上是这样的:
bundle install --path /home/user/app/shared/bundle --without development test --deployment --quiet
【问题讨论】:
标签: ruby bundler production-environment