我做了rvm get stable
然后我尝试安装ruby 2.0.0
$ **rvm install 2.0.0**
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.8/x86_64/ruby-2.0.0-p0.
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.
Installing requirements for smf, might require sudo password.
Installing SM Framework.
Error running 'requirements_smf_install_sm',
please read /usr/local/rvm/log/ruby-2.0.0-p0/smf_install.log
$ **cat /usr/local/rvm/log/ruby-2.0.0-p0/smf_install.log**
[2013-03-28 20:58:11] requirements_smf_install_sm
SMF Framework support is only intended for RailsInstaller, please use Homebrew integration instead.
错误日志不是很有帮助。我在Mac OS X Mountain Lion上。 有什么帮助吗?
答案 0 :(得分:10)
这是因为RVM设置为使用不同的库系统:SMF。您需要将RVM设置为使用brew。这是关于rvm autolibs的页面 https://rvm.io/rvm/autolibs/
使用rvm autolibs show
查看您当前的设置,如果您使用的是brew,则可以使用rvm autolibs brew
答案 1 :(得分:3)
尝试运行
brew update
如果你没有安装brew,这里有一个很好的指导来完成整个安装过程,你可以忽略1.9.3的东西并用2.0.0替换它
http://www.moncefbelyamani.com/how-to-install-xcode-homebrew-git-rvm-ruby-on-mac/