Travis cannot find a Ruby 2.6 Version using RVM

Travis build https://travis-ci.org/natritmeyer/site_prism/jobs/505207614 which ran on the 12th March 2019 finds the ruby (Although it failed in the log to originally find it)

$ rvm use 2.6 --install --binary --fuzzy
curl: (22) The requested URL returned error: 404 Not Found
Required ruby-2.6.1 is not installed - installing.
curl: (22) The requested URL returned error: 404 Not Found
Searching for binary rubies, this might take some time.
Found remote file https://rubies.travis-ci.org/ubuntu/16.04/x86_64/ruby-2.6.1.tar.bz2
Checking requirements for ubuntu.
Requirements installation successful.

As of today. All calls return the following; see https://travis-ci.org/natritmeyer/site_prism/jobs/505690564

$ rvm use 2.6 --install --binary --fuzzy
curl: (22) The requested URL returned error: 404 Not Found
Required ruby-2.6 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.6 do rvm gemset create ' first, or append '--create'.
The command "rvm use 2.6 --install --binary --fuzzy" failed and exited with 2 during .

Thanks for the report. Looking into this now.

2.6.0 works, but 2.6 does not.

RVM has a means of discovery when the specified version is not available. This relies on the presence of an index file that lists all the Ruby versions available remotely (e.g., https://rubies.travis-ci.org/index.txt). The file is available on S3, but not on GCS.

I think this file is generated automatically on S3, though I could be mistaken; I haven’t figured out how to do the same on GCS. So, for now, I’ve set up an alias manually to keep up.

2.6 should now work. https://travis-ci.org/BanzaiMan/travis_production_test/jobs/505782696 Please restart the affected jobs.

Thanks.

This has worked on a couple of builds in both master and branches. So it looks as if it’s working

I’m currently experiencing this problem on all my OSS projects.
Using ruby 2.6.0 did not fix.

$ rvm use 2.6.0 --install --binary --fuzzy
curl: (22) The requested URL returned error: 404 
Required ruby-2.6.0 is not installed - installing.
curl: (22) The requested URL returned error: 404 
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.6.0 do rvm gemset create ' first, or append '--create'.
The command "rvm use 2.6.0 --install --binary --fuzzy" failed and exited with 2 during .
Your build has been stopped.

https://travis-ci.org/jessesquires/JSQDataSourcesKit/jobs/506402116

That was a related, but separate issue on the Mac. See

This should now also be fixed.