无法使用rvm curl命令安装ruby 2.4.1

6tdlim6h  于 2021-09-29  发布在  Java
关注(0)|答案(0)|浏览(185)

在新的aws ubuntu 20.04服务器上,我收到一个失败的ruby下载错误
看起来stable可以正常工作,如果我在安装stable之后安装2.4.1,它似乎可以工作,但是在卸载ruby 3.0.0(stable)并使用ruby 2.4.1作为默认值之后,我遇到了一些其他奇怪的问题


## Step 1

$ sudo apt update -y
$ sudo apt upgrade -y

## Step 2 - install RVM/Ruby 2.4.1

$ gpg --keyserver keyserver.ubuntu.com --recv-key 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
$ \curl -sSL https://get.rvm.io | bash -s 2.4.1 --ruby
Downloading https://github.com/rvm/rvm/archive/2.4.1.tar.gz
curl: (22) The requested URL returned error: 404 

Could not download 'https://github.com/rvm/rvm/archive/2.4.1.tar.gz'.
  curl returned status '22'.

Downloading https://bitbucket.org/mpapis/rvm/get/2.4.1.tar.gz
curl: (22) The requested URL returned error: 404 

Could not download 'https://bitbucket.org/mpapis/rvm/get/2.4.1.tar.gz'.
  curl returned status '22'.

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题