当我运行rvm install ruby-1.9.3-p194时会发生以下错误:
Fetching yaml-0.1.4.tar.gz to /Users/christsongas/.rvm/archives
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404 Not Found
The requested url does not exist: 'https://rvm.io/src/yaml-0.1.4.tar.gz'
Trying ftp:// URL instead.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404 Not Found
There was an error, please check /Users/christsongas/.rvm/log//*.log
当然,我在Google上搜索了该错误,但没有找到解决此特定问题的方法。知道为什么RVM试图从不存在的URL下载吗?这是rvm -v的输出:
rvm 1.14.7 (version) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
答案 0 :(得分:1)
尝试通过运行rvm
安装最新稳定版的rvm get stable
,然后重试rvm install ruby-1.9.3-p194
我的rvm: 1.25.27 (stable)