【问题标题】:AWS CodeDeploy error with bundler: opt/codedeploy-agent/Gemfile not found捆绑程序的 AWS CodeDeploy 错误:未找到 opt/codedeploy-agent/Gemfile
【发布时间】:2015-03-18 20:06:09
【问题描述】:

当我将 bundle install 作为 AfterInstall 挂钩调用时,我收到错误:“opt/codedeploy-agent/Gemfile not found”

任何想法可能是什么问题?

【问题讨论】:

    标签: aws-code-deploy


    【解决方案1】:

    我刚刚遇到了这个。

    我在https://medium.com/@davedash/bundler-and-amazon-codedeploy-afc684087b73 找到了答案,即在脚本顶部添加unset BUNDLE_GEMFILE

    我不知道为什么 CodeDeploy 设置这个 ENV 变量。

    【讨论】:

      猜你喜欢
      • 2016-03-15
      • 2023-03-16
      • 1970-01-01
      • 2018-12-18
      • 2017-07-01
      • 2017-09-15
      • 2016-04-11
      • 1970-01-01
      • 2017-01-24
      相关资源
      最近更新 更多