本文介绍了在Rvm中安装Ruby 1.9.3时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用以下指南安装ruby 1.9.3: http://www.moncefbelyamani.com/how-to-install-xcode-homebrew-git-rvm-ruby-on-mac/.

I am trying to install ruby 1.9.3 using this guide: http://www.moncefbelyamani.com/how-to-install-xcode-homebrew-git-rvm-ruby-on-mac/.

运行rvm install 1.9.3时出现此错误

Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.8/x86_64/ruby-1.9.3-p392.
Continuing with compilation. Please read 'rvm mount' to get more information on binary         rubies.
Installing requirements for osx, might require sudo password.
Skipping `brew update` make sure your formulas are up to date.
Cowardly refusing to continue, please read 'rvm autolibs'.

然后我运行brew update,我得到

Already up-to-date.

我也尝试运行brew doctor,我得到了

Also I tried running brew doctor, and I get

Your system is raring to brew.

怎么了?我该如何解决?

What is wrong? How do I fix this??

推荐答案

我遇到了同样的问题,并且对我有用:

I had the same problem and this worked for me:

\curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enabled

来源:

https://rvm.io/

这篇关于在Rvm中安装Ruby 1.9.3时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-15 09:45