2

我刚刚更新到最新的 Mac OS Maverick,现在在终端中打开应用程序时,我遇到了以下消息。关于如何解决这个问题的任何想法?提前谢谢!

未安装 ruby​​-2.0.0-p247。

要安装:'rvm install ruby​​-2.0.0-p247'

[app]$rvm install ruby-2.0.0-p247

Warning! PATH is not properly set up, '/usr/local/rvm/gems/ruby-2.0.0-p195/bin' is not at first place usually this is caused by shell initialization files - check them for 'PATH=...' entries, it might also help to re-add RVM to your dotfiles: 'rvm get stable --auto-dotfiles',
to fix temporarily in this shell session run: 'rvm use ruby-2.0.0-p195'.
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.9/x86_64/ruby-2.0.0-p247.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.

Checking requirements for smf.
Installing requirements for smf.
anthonypanepinto password required for 'sm get head': 
Updating system..
Installing required package: libtool..........................
Error running 'requirements_smf_lib_install libtool',
please read /usr/local/rvm/log/1382766047_ruby-2.0.0-p247/package_install_libtool.log
Failed installation package: libtool of: libtool, gdbm.
Requirements installation failed with status: 1.
4

2 回答 2

11

我看到有些人仍然有这个问题,我就是其中之一。从 mpapis 运行指令后,我仍然无法安装 ruby​​ 2.0.0,所以我这样做了

rvm install 2.0.0 --autolibs=1

这对我有用。

于 2013-11-27T22:41:55.467 回答
6

你需要运行:

rvmsudo rvm get head    # update rvm
rvm autolibs homebrew   # tell rvm to use homebrew
rvm install 2.0.0       # install ruby
rvm use 2.0.0 --default # use ruby and make it default

这是 railsinstaller 之后的剩余部分......我认为它可以自动化 - 需要修复它。

于 2013-10-26T05:58:39.297 回答