Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Fails to Build in Heroku #24

Open
ninp0 opened this issue Aug 19, 2017 · 5 comments
Open

Fails to Build in Heroku #24

ninp0 opened this issue Aug 19, 2017 · 5 comments

Comments

@ninp0
Copy link

ninp0 commented Aug 19, 2017

This occurs while attempting to Deploy in Heroku. The following are the results of the build log:

-----> Ruby app detected
-----> Compiling Ruby/Rack
       Command: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/heroku-16/ruby-2.1.2.tgz -s -o - | tar zxf - ' failed on attempt 1 of 3.
       Command: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/heroku-16/ruby-2.1.2.tgz -s -o - | tar zxf - ' failed on attempt 2 of 3.
 !
 !     An error occurred while installing ruby-2.1.2
 !     
 !     Heroku recommends you use the latest supported Ruby version listed here:
 !     https://devcenter.heroku.com/articles/ruby-support#supported-runtimes
 !     
 !     For more information on syntax for declaring a Ruby version see:
 !     https://devcenter.heroku.com/articles/ruby-versions
 !     
 !     
 !     Debug InformationCommand: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/heroku-16/ruby-2.1.2.tgz -s -o - | tar zxf - ' failed unexpectedly:
 !     
 !     gzip: stdin: unexpected end of file
 !     tar: Child returned status 1
 !     tar: Error is not recoverable: exiting now
 !
 !     Push rejected, failed to compile Ruby app.
 !     Push failed

Please advise. Thanks!

@littledatas
Copy link

Heroku has stopped supporting Ruby version 2.1.2. There is a goal to bump the version up to a supported Ruby version.

@sashank
Copy link

sashank commented Mar 1, 2018

Any update on this ?

@littledatas
Copy link

We are working on it. The issue is that the datamapper gem is not supported for modern ruby versions so we are working on a significant rewrite internally for those components.

However, we have been able to get docker working for local development and putting the finishing touches on production docker deploys. Hopefully, that should be a good stopgap solution in the meantime.

@its-a-lisa-at-work
Copy link

Hello, has there been any updates on this?

@cmlh
Copy link

cmlh commented Jan 23, 2019

Can you please fix the Deploy to Heroku Button too?

I have reproduced the screenshot below:

image

This Build Log in its entirety is:

-----> Ruby app detected
-----> Compiling Ruby/Rack
Command: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/heroku-18/ruby-2.1.2.tgz -s -o - | tar zxf - ' failed on attempt 1 of 3.
Command: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/heroku-18/ruby-2.1.2.tgz -s -o - | tar zxf - ' failed on attempt 2 of 3.
!
! An error occurred while installing ruby-2.1.2
!
! Heroku recommends you use the latest supported Ruby version listed here:
! https://devcenter.heroku.com/articles/ruby-support#supported-runtimes
!
! For more information on syntax for declaring a Ruby version see:
! https://devcenter.heroku.com/articles/ruby-versions
!
!
! Debug InformationCommand: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/heroku-18/ruby-2.1.2.tgz -s -o - | tar zxf - ' failed unexpectedly:
!
! gzip: stdin: unexpected end of file
! tar: Child returned status 1
! tar: Error is not recoverable: exiting now
!
! Push rejected, failed to compile Ruby app.
! Push failed

https://devcenter.heroku.com/articles/ruby-support#ruby-versions lists the versions of each [Ruby] runtime supported by Heroku.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants