Ruby rvm安装1.9.3-head:错误排序:无效选项--V
正在尝试在OSX Lion 10.7.3上安装ruby 1.9.3。在安装过程中,我收到以下错误:Ruby rvm安装1.9.3-head:错误排序:无效选项--V,ruby,rvm,Ruby,Rvm,正在尝试在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-
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
我没有macbook来测试这个。但是根据对for git hook的讨论,mac中的sort命令缺少'-V'选项 我建议你:
这是RVM中的一个错误,通过此提交已修复: 更新至最新的开发代码,包括:
rvm get head
这个问题将得到解决