我正试图更新我的八达通博客,并得到错误
未安装ruby-1.9.3-p484。
当我键入命令时
rvm install ruby-1.9.3-p484出现错误:

Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.8/x86_64/ruby-1.9.3-p484.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Error: No available formula for gcc46
Installing requirements for osx.
Updating system.........
Error running 'requirements_osx_brew_update_system ruby-1.9.3-p484',
please read /Users/stevenbrooks1111/.rvm/log/1386191431_ruby-1.9.3-p484/update_system.log
Requirements installation failed with status: 1.

不知道这是怎么回事。我现在有
ruby-1.9.3-p429 [ x86_64 ]
ruby-2.0.0-p195 [ x86_64 ]
ruby-2.0.0-p353 [ x86_64 ]

安装在我的计算机上。

最佳答案

也许RVM已经过时了试用

rvm get head
rvm install 1.9.3

编辑
你也得到一个关于gcc46的错误Ruby1.9.3不应该需要gcc,因为你已经有了clang试试这个:
rvm install 1.9.3 --with-gcc=clang

关于ruby - rvm无法安装ruby-1.9.3-p484,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/20386072/

10-14 13:20
查看更多