我试图在我的Red Hat Enterprise Linux机器上安装Ruby Version Manager(RVM),该机器在AWS云中运行,方法是these instructions。
但他们没有工作。以下是发生的事情:
$ gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
gpg: requesting key D39DC0E3 from hkp server keys.gnupg.net
gpg: key D39DC0E3: "Michal Papis (RVM signing) <mpapis@gmail.com>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
$ \curl -sSL https://get.rvm.io | bash -s stable --ruby
Downloading https://github.com/rvm/rvm/archive/1.27.0.tar.gz
curl: (23) Failed writing body (0 != 783)
Could not download 'https://github.com/rvm/rvm/archive/1.27.0.tar.gz'.
curl returned status '23'.
Downloading https://bitbucket.org/mpapis/rvm/get/1.27.0.tar.gz
curl: (23) Failed writing body (0 != 1038)
Could not download 'https://bitbucket.org/mpapis/rvm/get/1.27.0.tar.gz'.
curl returned status '23'.
说明书不是很好。如果我需要做sudo
,我不清楚。它并没有告诉我对命令的反应是什么(对于快乐的道路)。
有人可以向我解释如何安装RVM吗?我首先要安装Ruby吗?