安装Ruby 1.9.3与RVM问题(Problems installing Ruby 1.9.3

2019-08-18 00:41发布

我想使用本指南安装Ruby 1.9.3: 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 ,我也得到

Your system is raring to brew.

怎么了? 我该如何解决??

Answer 1:

我有同样的问题,这为我工作:

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

资源:

https://rvm.io/



Answer 2:

尝试:

rvm list known

如果不返回任何内容,或不包括红宝石版本,你正在寻找尝试更新

rvm get stable

然后尝试安装要再次红宝石版本。



文章来源: Problems installing Ruby 1.9.3 with Rvm