2013-03-26 82 views
0

我想安裝紅寶石1.9.3使用本指南:http://www.moncefbelyamani.com/how-to-install-xcode-homebrew-git-rvm-ruby-on-mac/安裝紅寶石1.9.3與Rvm的問題

當我運行rvm install 1.9.3我得到這個錯誤

Searching for binary rubies, this might take some time. 
No binary rubies available for: osx/10.8/x86_64/ruby-1.9.3-p392. 
Continuing with compilation. Please read 'rvm mount' to get more information on binary   rubies. 
Installing requirements for osx, might require sudo password. 
Skipping `brew update` make sure your formulas are up to date. 
Cowardly refusing to continue, please read 'rvm autolibs'. 

然後我跑brew update,我得到

Already up-to-date. 

而且我試圖運行brew doctor,我也得到

Your system is raring to brew. 

什麼是錯的?我該如何解決??

回答

8

我有同樣的問題,這個工作對我來說:

\curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enabled 

來源:

https://rvm.io/

+0

這個工作。我在通過rvm獲取最新版本之前使用了最新版本。我猜想自己運行這個命令可能會導致衝突。以上解決了我的問題。謝謝。 – 2013-03-26 23:59:33

0

嘗試:

rvm list known 

如果不返回任何內容,或不包括你正在尋找嘗試紅寶石版本更新

rvm get stable 

然後嘗試安裝你想要的紅寶石版本再次。