rvm - 不能做rvm得到稳定,curl返回状态22

时间:2013-08-16 15:05:24

标签: ruby curl rvm ruby-2.0

尝试升级到ruby 2.0.0(然后还有rails 4.0.0)

首先尝试rvm get stable,但不断收到错误代码22,即

Downloading RVM from wayneeseguin branch stable
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   124  100   124    0     0     56      0  0:00:02  0:00:02 --:--:--    58
  0   124    0     0    0     0      0      0 --:--:--  0:00:02 --:--:-- -1610
curl: (22) The requested URL returned error: 503

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

1 个答案:

答案 0 :(得分:1)

为了解决我最终做的错误:

curl -L get.rvm.io | bash -s head

然后我能够做到:

rvm use 2.0.0

然后

gem install rails --version 4.0.0