【问题标题】:Ruby - Heroku migrating to Cedar 14Ruby - Heroku 迁移到 Cedar 14
【发布时间】:2015-09-01 06:41:09
【问题描述】:

我正在尝试迁移到 heroku cedar 14 - 遵循以下说明:

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

我无法推送迁移 - 我不断收到此错误:

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

有人知道这个问题的解决方法吗?

【问题讨论】:

    标签: ruby-on-rails ruby heroku


    【解决方案1】:

    上周我在按照 Heroku 的说明尝试将 Heroku 应用升级到 Cedar-14 时看到了这个错误。问题是该应用程序使用的是 Cedar-14 不支持的旧版 Ruby。我必须首先升级我正在使用的 Ruby 版本(在我的例子中是 2.1.7),然后我才能升级 Cedar。

    【讨论】:

      【解决方案2】:

      似乎 Heroku 升级尝试下载更新的 Heroku buildpack 失败。这似乎是 Heroku 的一个问题。

      我建议你联系他们。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2015-09-11
        • 1970-01-01
        • 1970-01-01
        • 2015-03-20
        • 1970-01-01
        • 1970-01-01
        • 2016-06-20
        相关资源
        最近更新 更多