Travis cannot install Ruby 2.7.2 for osx_image: xcode12.4

I have upgraded ruby versions in the past without problems. I changed the contents of .ruby-version but this time around I got the following error:

Required ruby-2.7.2 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.7.2 do rvm gemset create ' first, or append '--create'.
The command "rvm use $(< .ruby-version) --install --binary --fuzzy" failed and exited with 2 during .

I also tried

before_install
- rvm install 2.7.2

The same thing happened

Rubies available for install are listed at https://rubies.travis-ci.org/ (that page only lists FreeBSD and OSX versions, see the RVM link there for the Linux ones).

I am using osx_image: xcode12.4

Okay, as https://rubies.travis-ci.org correctly states (by omission) and explicitly checking the site and rvm list remote confirms, there are no alternative rubies available for osx_image: xcode12.4 atm, only the preinstalled 2.6.6.

Thank you, this is very helpful!

Will there be other rubies in the future or is it impossible/unfeasible?

I notified the support of this, it’s up to them now.

Ruby2.7.2 has been built on Xcode12.4, sorry about the latency. Thanks.

1 Like

Thank you very much

Imprint