结果悲剧了,rvm 控制的 ruby 版本都没法用了,重装也装不上。
rvm -v rvm 1.19.0 (stable) by Wayne E. Seguin [email protected]...
折腾到现在,rvm 也重装过,无论装哪个版本都终端都提示一样的错误:
$rvm install 1.8.7
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.7/x86_64/ruby-1.8.7-p371.
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'.
...
$rvm install 1.9.3
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.7/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'.
实在不知道问题出在哪,以前都是装好 rvm 后一个命令就将想安装的版本安装好,现在却报什么二进制安装包的错,google 的那些方法没发现能解决的,求大牛打救。 系统:10.7.4 Xcode: 4.5
就这样莫名的解决了: 执行:
$rvm requirements
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'.
报错了; 然后我执行:
rvm autolibs
按里面的说明,执行了一下几句:
$rvm autolibs brew $rvm autolibs homebrew $rvm requirements
这样以后,ruby 的版本都能装了。 感谢各位的建议。