Ruby on rails 安装ruby 2时出现RVM问题
我确实Ruby on rails 安装ruby 2时出现RVM问题,ruby-on-rails,ruby,rvm,Ruby On Rails,Ruby,Rvm,我确实rvm稳定下来了 然后我尝试安装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
rvm稳定下来了
然后我尝试安装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上。
有什么帮助吗?试试跑步
brew update
如果您没有安装brew,这里有一个很好的指南,可以指导您完成整个安装过程,您可以忽略1.9.3内容,用2.0.0替换它
这是因为RVM被设置为使用不同的库系统:SMF。您需要将RVM设置为使用brew。这是关于rvm autolibs的页面
使用
rvm autolibs show
查看您当前的设置,如果您正在使用brew,您可以使用rvm autolibs brew
更改设置。是的,我也遇到了同样的问题,更新brew
为我解决了这个问题。我更新了brew,并按照您发送的教程中所述安装了“brew安装libksba”。我还需要安装什么?现在运行rvm install 2.0.0
时会发生什么?我通过执行rvm install 2.0.0--autolibs=brew解决了这个问题。“这有道理吗?”托尼绝对有道理。我也有同样的问题,这也帮我解决了。感谢一位修改了我命令的评论员。奇怪的是,3位管理员拒绝了它。rvm autolibs macports也可以很好地工作,如果您使用端口而不是自制的:)