【发布时间】:2014-11-17 07:27:01
【问题描述】:
我正在尝试将我的 RoR 应用从 ruby 2.1.2 升级到 ruby 2.1.3。
我已经在我的临时应用程序上成功完成了它,但是当我尝试推送生产应用程序 (git push prod master) 时,我得到了这个日志:
-----> Fetching custom git buildpack... done
-----> Ruby app detected
-----> Compiling Ruby/Rails
!
! 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/ruby-2.1.3.tgz -s -o - | tar zxf -' failed unexpectedly:
!
! gzip: stdin: unexpected end of file
! tar: Child returned status 1
! tar: Exiting with failure status due to previous errors
!
! Push rejected, failed to compile Ruby app
在过去的一个小时内,我已经尝试多次重复该命令,但我从未成功部署生产环境。
有什么想法吗?
【问题讨论】:
-
tar 文件被截断、无效或丢失。
-
你应该把你最后的评论放在答案中并接受它
-
我做到了,谢谢!
标签: ruby heroku deployment amazon-s3