Travis cannot find a Ruby 2.5.0 from .ruby-version

$ rvm use $(< .ruby-version) --install --binary --fuzzy
curl: (22) The requested URL returned error: 404 Not Found
Required ruby-2.5.0 is not installed - installing.
curl: (22) The requested URL returned error: 404 Not Found
Searching for binary rubies, this might take some time.
Requested binary installation but no rubies are available to download, consider skipping --binary flag.
Gemset '' does not exist, 'rvm ruby-2.5.0 do rvm gemset create ' first, or append '--create'.
The command "rvm use $(< .ruby-version) --install --binary --fuzzy" failed and exited with 2 during .

Your build has been stopped.

https://travis-ci.org/minsk-hackerspace/hackerspace.by/builds/637104060

Please restart the affected build as the switch to GCS as the backend language caused this issue with RVM, we’ve reverted, so Ruby should work once more.

Please also try running the build in debug mode and post output here.

-Montana

Restarting didn’t help.

https://travis-ci.org/minsk-hackerspace/hackerspace.by/builds/637104060

Please also try running the build in debug mode and post output here.

How to do that? There is no such option.

@Montana the problem only exists on Bionic.

Bionic build.

Xenial build.

curl 404 messages are still there, but download continues on Xenial/

There is no ruby-2.5.0 for Bionic at https://rvm_io.global.ssl.fastly.net/binaries/ubuntu/18.04/x86_64/

I’ve back-filled 2.5.0 through 2.5.5 for Bionic. See, e.g., https://travis-ci.com/travis-ci/travis-rubies/builds/144941906

It’ll be available for use within 24 hours.

1 Like

Thank you.

Imprint