使用bundler的AWS CodeDeploy错误:找不到opt / codedeploy-agent / Gemfile

时间:2015-03-18 20:06:09

标签: aws-code-deploy

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

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

1 个答案:

答案 0 :(得分:0)

我刚碰到这个。

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

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

相关问题