【发布时间】:2019-04-02 19:32:25
【问题描述】:
我正在尝试在 heruku 上安装 decidim (decidim.org),但在进行部署时出现此错误
remote: You are trying to install in deployment mode after changing
remote: your Gemfile. Run bundle install elsewhere and add the
remote: updated Gemfile.lock to version control.
remote:
remote: The gemspecs for path gems changed
remote: !
remote: ! Failed to install gems via Bundler.
remote: !
remote: ! Push rejected, failed to compile Ruby app.
remote:
remote: ! Push failed
remote: Verifying deploy...
这是部署的结束行。
谁有这个问题的答案? 谢谢
【问题讨论】:
-
您是否按照错误提示执行了操作?在本地运行
bundle install并确保将 Gemfile.lock 添加到版本控制中? -
Related: stackoverflow.com/q/11513623/1531971, stackoverflow.com/q/32380828/1531971, stackoverflow.com/q/40922424/1531971 (否则你需要展示 thesde refs 与你非常常见的问题无关。)
-
我投票结束这个问题,因为引用的错误消息准确地解释了如何解决这个问题。
标签: ruby-on-rails ruby heroku