尝试在OSX Lion 10.7.3上安装ruby 1.9.3。在安装过程中,我收到了以下错误:
ruby-1.9.3-head - #installing
sort: invalid option -- V
Try `sort --help' for more information.
sed: 1: "/"name": / {s/^.*".*": ...": extra characters at the end of p command
Retrieving rubygems-
% 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
The requested url does not exist: 'http://production.cf.rubygems.org/rubygems/rubygems-.tgz'
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:01:15 --:--:-- 0
curl: (56) response reading failed
There was an error, please check /Users/jakenathan/.rvm/log/ruby-1.9.3-head/*.log
There has been an error while trying to fetch the source.
Halting the installation.
ruby-1.9.3-head - adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
ruby-1.9.3-head - #importing default gemsets (/Users/jakenathan/.rvm/gemsets/)
Install of ruby-1.9.3-head - #complete
答案 0 :(得分:0)
这是RVM中的一个错误,它通过此提交修复: https://github.com/wayneeseguin/rvm/commit/5282c23e3492202510116b9adc94031f101f89ac
使用以下命令更新到最新的开发代码:
rvm get head
此问题将得到修复