未安装ruby-2.0.0-p247

时间:2013-10-26 05:44:33

标签: ruby-on-rails ruby ruby-on-rails-3 rvm

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

未安装ruby-2.0.0-p247。

安装do:'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.

2 个答案:

答案 0 :(得分:11)

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

rvm install 2.0.0 --autolibs=1

这对我有用。

答案 1 :(得分: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之后的剩余...我认为它可以自动化 - 需要修复它。

相关问题