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

Could not download rvm-installer in travis ci #809

Open
BeastRush1231 opened this issue Oct 1, 2021 · 4 comments
Open

Could not download rvm-installer in travis ci #809

BeastRush1231 opened this issue Oct 1, 2021 · 4 comments

Comments

@BeastRush1231
Copy link

Hello,

I'm not sure the problem is in travis or rvm, so I duplicate the same problem.

I'm running travis CI and install rvm with 3.0.0, yesterday was all fine

but today my ci running until rvm get head got error

  $ rvm get head
  Downloading https://get.rvm.io
  Could not download rvm-installer, please report to https://github.com/rvm/rvm/issues
  The command "rvm get head" failed and exited with 60 during .

I google but still have no idea about what's wrong...

Chester


update:

Another repo with rvm 2.7.1 version can pass now, then I changed to 3.0.0 got the same problem ↑.
So I think the problem is in version 3.0.0, hope it will help to fix thx!

In rvm repo issue: rvm/rvm#5133

@wesleyeewong
Copy link

Reiterating it here, incase it's a travis issue, hope this helps

We're also experiencing the same issue with Ruby 3.0.1

We were able to resolve it in the mean time by removing the rvm specification, and used .ruby-version file to specify our Ruby version.
https://docs.travis-ci.com/user/languages/ruby/#using-ruby-version

Also switched my dist to focal. I got the same error if I use xenial.

@alex-areshnikov
Copy link

Looks like the same issue here daddyz/phonelib#243

itsolver added a commit to itsolver/msp-marketing-site that referenced this issue Oct 25, 2021
itsolver added a commit to itsolver/msp-marketing-site that referenced this issue Oct 25, 2021
@ali-ehmed
Copy link

ali-ehmed commented Feb 3, 2022

I was able to resolve this on Ruby 3.0.2 by removing dist and rvm key from my config. It could pick the ruby version from .ruby-version file.

@ehannes
Copy link

ehannes commented Apr 28, 2022

I manage to fix my builds simply by adding dist: focal to my .travis.yml. My Travis builds was running on Xenial before (by default, I didn't have dist set to anything), which is Ubuntu 16.04. That's 6 years old now, time to upgrade 😃

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

5 participants