0

部署我的应用程序时,我在服务器上收到以下错误

The --deployment flag requires a Gemfile.lock. Please make sure you have checked your Gemfile.lock into version control before deploying.

我已经将 Gemfile.lock 签入到我的代码存储库中。

谁能指导我为此做些什么?

谢谢。

4

1 回答 1

0

确保 Gemfile.lock 在部署期间被实际签出。

例如,检查它是否未在任何.gitignore文件中列出。

希望有帮助!

于 2014-10-22T23:33:39.297 回答