简体   繁体   English

未安装ruby-2.0.0-p247

[英]ruby-2.0.0-p247 is not installed

I've just updated to the latest Mac OS Maverick and now when opening apps in the terminal I'm hit with the following message(s). 我刚刚更新到最新的Mac OS Maverick,现在当在终端中打开应用程序时,我会点击以下消息。 Any idea on how to solve this? 关于如何解决这个问题的任何想法? Thx in advance! Thx提前!

ruby-2.0.0-p247 is not installed. 未安装ruby-2.0.0-p247。

To install do: 'rvm install 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.

I see some guys still have the issue, I was one of them. 我看到有些人仍然有问题,我就是其中之一。 After running the instructions from mpapis I still couldn't install ruby 2.0.0 so I did this 从mpapis运行指令后,我仍然无法安装ruby 2.0.0所以我这样做了

rvm install 2.0.0 --autolibs=1

That did the trick for me. 这对我有用。

you need to run: 你需要运行:

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

this is leftover after railsinstaller ... I think it can be automated - need to fix it. 这是railsinstaller之后的剩余...我认为它可以自动化 - 需要修复它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM