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'.
4

1 回答 1

1

为了解决这个错误,我最终做了:

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

然后我能够做到:

rvm use 2.0.0

然后

gem install rails --version 4.0.0
于 2013-08-16T15:05:24.380 回答