【问题标题】:Gemfile.lock Error while trying to deploy RoR application on server尝试在服务器上部署 RoR 应用程序时出现 Gemfile.lock 错误
【发布时间】:2014-10-20 13:30:40
【问题描述】:

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

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

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

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

谢谢。

【问题讨论】:

    标签: ruby-on-rails-3 deployment gemfile.lock


    【解决方案1】:

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

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

    希望有帮助!

    【讨论】:

      猜你喜欢
      • 2021-10-19
      • 2019-04-01
      • 1970-01-01
      • 2014-09-16
      • 2018-11-27
      • 2017-11-05
      • 1970-01-01
      • 2015-07-01
      • 1970-01-01
      相关资源
      最近更新 更多