【问题标题】:Cap production deploy failed error: could not locate gemfile on AWS server上限生产部署失败错误:无法在 AWS 服务器上找到 gemfile
【发布时间】:2015-12-19 05:01:22
【问题描述】:

我正在通过 Capistrano 在 AWS ec2 实例上部署一个 Rails 应用程序。 Cap production deploy:check 成功,但是当我运行 cap production deploy 时出现错误。

谁能帮忙?

【问题讨论】:

标签: ruby-on-rails ruby amazon-web-services capistrano


【解决方案1】:

我发现了问题。您在项目中的 Gemfile 被命名为 "gemfile" SMALL g

它必须是 Gemfile。 所以这个东西可以在 Mac 和 Windows 上运行。但是当你部署到 Linux 时,它看不到 Gemfile。请将项目中的“gemfile”重命名为“Gemfile” 它会起作用的。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2023-03-24
    • 2016-05-22
    • 1970-01-01
    • 2016-02-27
    • 1970-01-01
    • 2020-01-18
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多