使用Rvm安装Ruby 1.9.3时出现问题
我正在尝试使用本指南安装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.
怎么了? 我该如何解决??
我有同样的问题,这对我有用:
\curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enabled
资源:
尝试:
rvm list known
如果没有返回任何内容,或者不包含您正在寻找的ruby版本尝试更新
rvm get stable
然后尝试再次安装所需的ruby版本。