2012-03-18 47 views
0

試圖在OSX Lion 10.7.3上安裝ruby 1.9.3。在安裝期間,我收到以下錯誤:rvm install 1.9.3-head:錯誤排序:無效選項-V

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

我沒有macbook來測試此操作。但根據關於git-hooks的this issue的討論,mac中的排序命令缺少'-V'選項。

我建議你:

  1. 因爲你沒有提供你正在運行的RVM的版本,更新到最新版本。也嘗試更新git。
  2. 發佈錯誤日誌文件內容。
相關問題