RVM error with Requirements installation failed with status:1

徘徊边缘 提交于 2019-12-23 13:32:18

问题


I tried to install ruby 1.9.3 using command rvm install 1.9.3 --with-gcc=clang. But I got error saying

No binary rubies available for: osx/10.9/x86_64/ruby-1.9.3-p448.
Continuing with compilation.
Please read 'rvm help mount' to get more information on binary rubies.
Requirements installation failed with status: 1.

While I look into the installing log, I found it's saying

config/: Can't update time for config
doc/: Can't update time for doc
m4/: Can't update time for m4
Mk/: Can't update time for Mk

I tried many ways to install, but get the same error again and again, so what the problem is? And how should I do?


回答1:


You're running this on Mavericks/10.9, a prerelease OS. RVM checks the OS version and then looks for ruby binary packages that match that specific OS version on the server. There aren't yet any such binary packages.

If you install homebrew first, RVM should be able to get a working 1.9.3 ruby from there.




回答2:


Bypass your macports:

Use sudo mv /opt/local ~/macports

Then make sure your Xcode is current and that should work.



来源:https://stackoverflow.com/questions/17641230/rvm-error-with-requirements-installation-failed-with-status1

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