Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run ruby 3.1.6 scraper #1336

Open
ianheggie-oaf opened this issue Oct 6, 2024 · 0 comments
Open

Cannot run ruby 3.1.6 scraper #1336

ianheggie-oaf opened this issue Oct 6, 2024 · 0 comments

Comments

@ianheggie-oaf
Copy link

ianheggie-oaf commented Oct 6, 2024

When trying to run ruby 3.1.6 (the oldest supported ruby listed in https://devcenter.heroku.com/articles/ruby-support#supported-runtimes, and currently the default) I get the following error:

Injecting configuration and compiling...
       [1G-----> Ruby app detected
-----> Compiling Ruby/Rack
       Command: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 30 --max-time 180 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/cedar-14/ruby-3.1.6.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 30 --max-time 180 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/cedar-14/ruby-3.1.6.tgz -s -o - | tar zxf - ' failed on attempt 2 of 3.
       !
       !     An error occurred while installing ruby-3.1.6
       !
       !     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 30 --max-time 180 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/cedar-14/ruby-3.1.6.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

Note - that resource is not present:

wget https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/cedar-14/ruby-3.1.6.tgz
--2024-10-07 03:20:32--  https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/cedar-14/ruby-3.1.6.tgz
Resolving s3-external-1.amazonaws.com (s3-external-1.amazonaws.com)... 54.231.193.251, 16.182.70.227, 54.231.226.51, ...
Connecting to s3-external-1.amazonaws.com (s3-external-1.amazonaws.com)|54.231.193.251|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-10-07 03:20:33 ERROR 404: Not Found.

Working my way back through the versions, it appears the last version is 2.7.6 (released 12 Apr 2022, support ended for series 31 Mar 2023) for heroku cedar-14:

$ wget https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/cedar-14/ruby-2.7.6.tgz
--2024-10-07 03:24:32--  https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/cedar-14/ruby-2.7.6.tgz
Resolving s3-external-1.amazonaws.com (s3-external-1.amazonaws.com)... 16.182.105.131, 16.182.41.187, 16.182.41.67, ...
Connecting to s3-external-1.amazonaws.com (s3-external-1.amazonaws.com)|16.182.105.131|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 19199838 (18M) []
Saving to: ‘ruby-2.7.6.tgz’

ruby-2.7.6.tgz                                                100%[=================================================================================================================================================>]  18.31M  6.68MB/s    in 2.7s    

2024-10-07 03:24:36 (6.68 MB/s) - ‘ruby-2.7.6.tgz’ saved [19199838/19199838]

Note: Ruby 3.2 and 3.3 are also unsupported

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

No branches or pull requests

1 participant