Hi,
I’m using Travis CI with Ruby
programming language.
In my .travis.yml
file, I am running my code against the following Ruby versions.
rvm:
- 2.0.0
- 2.1.0
- 2.1.1
- 2.1.5
- 2.2.10
- 2.3.7
- 2.4.4
- 2.5.1
- jruby-head
This had been working fine till today when my Travis job failed for Ruby 2.1.1 . This is my error log from Travis CI
$ rvm use 2.1.1 --install --binary --fuzzy
curl: (22) The requested URL returned error: 404 Not Found
Required ruby-2.1.1 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.1.1 do rvm gemset create ' first, or append '--create'.
The command "rvm use 2.1.1 --install --binary --fuzzy" failed and exited with 2 during .
Your build has been stopped.
How can this be fixed?
Regards
Do you have build log URLs to show the changes?
Our move to GCS as the back end to language archives caused this issue with RVM. We’ve reverted the change for RVM, so Ruby should work as it did before. Please restart the affected builds.
Thanks.
I am having the same problem with some older rubies
$ export CC_TEST_REPORTER_ID=[secure]
10.95s$ rvm use 1.9.3 --install --binary --fuzzy
curl: (22) The requested URL returned error: 404 Not Found
Required ruby-1.9.3 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-1.9.3 do rvm gemset create ’ first, or append ‘–create’.
The command “rvm use 1.9.3 --install --binary --fuzzy” failed and exited with 2 during .
Your build has been stopped.
I’m having the same issue:
$ rvm use 2.1.3 --install --binary --fuzzy
curl: (22) The requested URL returned error: 404 Not Found
Required ruby-2.1.3 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.1.3 do rvm gemset create ' first, or append '--create'.
The command "rvm use 2.1.3 --install --binary --fuzzy" failed and exited with 2 during .
travis.yml:
language: ruby
rvm: 2.1.3
services:
- postgresql
install:
- rvm use 2.1.3 --install
2.1.3 is too old for the Ubuntu release you’re trying to use. Either use Trusty, or a more recent Ruby.