Ruby on rails 未安装ruby-2.0.0-p247

Ruby on rails 未安装ruby-2.0.0-p247,ruby-on-rails,ruby,ruby-on-rails-3,rvm,Ruby On Rails,Ruby,Ruby On Rails 3,Rvm,我刚刚更新到最新的Mac OS Maverick,现在在终端中打开应用程序时,我收到以下消息。有没有办法解决这个问题?提前谢谢 未安装ruby-2.0.0-p247 要安装do:“rvm安装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 u

我刚刚更新到最新的Mac OS Maverick,现在在终端中打开应用程序时,我收到以下消息。有没有办法解决这个问题?提前谢谢

未安装ruby-2.0.0-p247

要安装do:“rvm安装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.
您需要运行:

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

这是铁路安装后留下的。。。我认为它可以自动化-需要修复它

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

rvm install 2.0.0 --autolibs=1

这对我来说是个好办法。

ruby-2.0.0-p247
很好。安装它!!!谢谢Amit,但是当我尝试使用rvm安装ruby-2.0.0-p247时,仍然会遇到上述错误。有什么想法吗?谢谢mpapis,但我在尝试上面的方法时仍然会遇到这个错误:osx/10.9/x86_64/ruby-2.0.0-p247没有二进制rubies可用。继续汇编。请阅读“rvm帮助挂载”以获取有关二进制红宝石的更多信息。检查osx_brew的要求。osx_brew的安装要求。更新系统。。。。。。。。。运行“requirements_osx_brew_update_system ruby-2.0.0-p247”时出错,请阅读/usr/local/rvm/log/1382767455_ruby-2.0.0-p247/update_system.log requirements安装失败,状态为:1。因此,第一部分是警告而不是错误,第二部分是不同的错误,确保
brew update
按预期工作,然后继续ruby安装。