0

我一直在使用 Heroku 托管我的 Rails 5 应用程序,直到今天它一直运行良好。刚刚尝试推送最新更新并收到此错误:

-----> Building on the Heroku-20 stack
-----> Ruby app detected
/tmp/codon/tmp/buildpacks/39f112f50b07a72959c8a346ce561f7cb404a86c/bin/compile: line 3: heroku/ruby: No such file or directory
This buildpack is no longer supported, please use  which now supports Bundler 2 directly
 !     Push rejected, failed to compile Ruby app.
 !     Push failed

我的猜测是我没有为我的应用程序使用最新版本的捆绑程序?如果是这种情况,我将如何解决这个问题?或者也许是不同的东西?

谢谢您的帮助。

4

2 回答 2

0

尝试https://github.com/bundler/heroku-buildpack-bundler2在 heroku 设置中从您的项目中删除 buildpack

于 2021-04-06T16:53:48.747 回答
0

潜在解决方案: https ://github.com/rubygems/bundler/issues/6784

尝试:heroku buildpacks:set https://github.com/bundler/heroku-buildpack-bundler2

于 2021-03-09T07:28:09.630 回答