Problems installing Ruby 1.9.3 with Rvm

こ雲淡風輕ζ 提交于 2019-12-06 15:57:48

问题


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/.

When I run rvm install 1.9.3 I get this error

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'.

Then I run brew update, I get

Already up-to-date.

Also I tried running brew doctor, and I get

Your system is raring to brew.

What is wrong? How do I fix this??


回答1:


I had the same problem and this worked for me:

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

Source:

https://rvm.io/




回答2:


Try:

rvm list known

If that returns nothing, or doesn't include the ruby version you're looking for try to update

rvm get stable

Then try to install the ruby version you want again.



来源:https://stackoverflow.com/questions/15643205/problems-installing-ruby-1-9-3-with-rvm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!