2013-03-26 130 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 

然后尝试安装你想要的红宝石版本再次。