我正在将Rails应用程序部署到Google Cloud App Engine。由于添加
config.action_mailer.default_url_options = { host: 'foobar.appspot.com'}
要production.rb,生成上部署失败。这是日志:
INFO[0108] RUN bundle install --deployment --without="development test" && rbenv rehash
INFO[0108] cmd: /bin/sh
INFO[0108] args: [-c bundle install --deployment --without="development test" && rbenv rehash]
/bin/sh: 1: bundle: not found
error building image: error building stage: waiting for process to exit: exit status 127
答案 0 :(得分:0)
有2个选项,您应该尝试:
bundle
更改为bundler
。 bundler
之类的东西手动安装gem install bundler -v 1.17.1