【发布时间】:2018-05-28 20:58:31
【问题描述】:
我的 Gemfile 中曾经有 gem 'aws-sdk',但将其更新为 gem 'aws-sdk-s3' 以防止不必要的包加载。虽然这在我的本地机器上运行良好,但 heroku 应用程序崩溃并出现以下错误:
cannot load such file -- aws-sdk (You may need to install the aws-sdk gem))
在将我的新应用上传到 Heroku 时,我确实收到了以下警告,但 Heroku 上的链接对于要采取的操作没有意义:
remote: ! Warning: You are running on a deprecated stack.
remote: ! Please upgrade to the latest stack by following the instructions on:
remote: ! https://devcenter.heroku.com/articles/upgrading-to-the-latest-stack
非常感谢您的帮助,谢谢!
【问题讨论】:
标签: ruby-on-rails heroku amazon-s3