0

我正在尝试使用本指南安装 ruby​​ 1.9.3:http ://www.moncefbelyamani.com/how-to-install-xcode-homebrew-git-rvm-ruby-on-mac/ 。

当我运行时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.

怎么了?我该如何解决??

4

2 回答 2

8

我有同样的问题,这对我有用:

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

资源:

https://rvm.io/

于 2013-03-26T18:30:22.617 回答
0

尝试:

rvm list known

如果没有返回任何内容,或者不包含您正在寻找的 ruby​​ 版本,请尝试更新

rvm get stable

然后尝试再次安装您想要的 ruby​​ 版本。

于 2013-03-26T17:13:24.580 回答