Created
December 27, 2014 19:30
-
-
Save olivierlacan/cafddd3fbed4593c3b25 to your computer and use it in GitHub Desktop.
Ruby 2.2.0 & Rails 4.2.0 app push fail
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----> Fetching custom tar buildpack... done | |
-----> Ruby app detected | |
-----> Compiling Ruby/Rails | |
! | |
! Command: 'set -o pipefail; curl --fail --retry 3 --retry-delay 1 --connect-timeout 3 --max-time 20 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/ruby-2.2.0.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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If this happens to you it means you're probably using a custom buildpack and forgot about it. I did.
Check
heroku config
for your app, there should be aBUILDPACK_URL
set, which is the telltale for a custom buildpack. To remove it, simply unset that environment variable with:And off you go. 😃
PS: Thanks to @hone (Terence Lee) for the help fixing that.