简体   繁体   English

Ruby-Heroku迁移到Cedar 14

[英]Ruby - Heroku migrating to Cedar 14

I am trying to migrate to heroku cedar 14 - following these instructions: 我正尝试按照以下说明迁移至heroku cedar 14:

https://devcenter.heroku.com/articles/cedar-14-migration https://devcenter.heroku.com/articles/cedar-14-migration

I can't push the migration - I keep getting this error: 我无法推动迁移-我不断收到此错误:

Command: 'set -o pipefail; curl --fail --retry 3 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/cedar-14/ruby-2.1.1.tgz -s -o - | tar zxf - ' failed unexpectedly:
remote:  !     
remote:  !     gzip: stdin: unexpected end of file
remote:  !     tar: Child returned status 1
remote:  !     tar: Error is not recoverable: exiting now
remote:  !
remote: 
remote:  !     Push rejected, failed to compile Ruby app

Does anyone know the solution to this problem? 有人知道解决这个问题的方法吗?

It seems that the Heroku upgrade failed trying to download the updated Heroku buildpack. 似乎Heroku升级尝试下载更新的Heroku buildpack失败。 It seems to be an issue at Heroku. 在Heroku看来这是一个问题。

I suggest you to contact them. 我建议您与他们联系。

I saw this error last week when trying to upgrade a Heroku app to Cedar-14 following their instructions. 上周,我按照他们的指示尝试将Heroku应用程序升级到Cedar-14时看到了此错误。 The problem was that the app was using an older version of Ruby that Cedar-14 didn't support. 问题在于该应用程序使用的是Cedar-14不支持的旧版Ruby。 I had to first upgrade the version of Ruby I was using (to 2.1.7, in my case) and then I was able to upgrade Cedar. 我必须先将使用的Ruby版本升级(以我的情况为2.1.7),然后才能升级Cedar。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM