2
我最近不得不將寶石添加到我的寶石文件中。當我將它們添加到我的gemfile時,我直接將它推送到我的生產服務器。 我SSH'd到我的生產服務器,並試圖運行捆綁安裝。這是我去的錯誤:無法在生產中捆綁
>> bundle install
.........
>> 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`.
You have added to the Gemfile:
* RedCloth
* tanker
你正在尋找的答案是在錯誤信息本身。在開發機器上安裝捆綁軟件,然後推送** Gemfile.lock。 – Fabio