0

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

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

4

1 回答 1

0

我刚碰到这个。

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

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

于 2015-03-19T17:38:00.370 回答