当我将 bundle install 作为 AfterInstall 挂钩调用时,出现错误:“opt/codedeploy-agent/Gemfile not found”
任何想法可能是什么问题?
当我将 bundle install 作为 AfterInstall 挂钩调用时,出现错误:“opt/codedeploy-agent/Gemfile not found”
任何想法可能是什么问题?
我刚碰到这个。
我在https://medium.com/@davedash/bundler-and-amazon-codedeploy-afc684087b73找到了答案,它添加unset BUNDLE_GEMFILE
在脚本的顶部。
我不知道为什么 CodeDeploy 设置这个 ENV 变量。