Fresh Installs of RVM and Ruby 2.1.1 - dyld library/pathing error

旧巷老猫 提交于 2019-11-30 00:20:14

It looks it's a temporary bug: https://twitter.com/mpapis/status/447926386314186752. The disable-binary option worked for me:

rvm reinstall 2.1.1 --disable-binary

EDIT - better solution

I see that some people still have this problem. Today much better solution is to update RVM like this:

rvm get stable

The problem was caused by RVM - it had some paths hard-coded into ruby binary versions. But this issue was already fixed and currently there's no need in compiling ruby locally. All you need is to get most recent RVM version.

as per https://github.com/wayneeseguin/rvm/issues/2732 :

rvm reinstall 2.1.1 --disable-binary

should allow you to install it.

also setting your "rvm use" to the most recent version of ruby on your "rvm list" also helped me.

and the issue is now closed on github, so in a couple of days (question : does anyone know the usual turn around for rvm patches?) the fix should be up on the rvm.io site and running "rvm get stable" will update your intallation with the patch

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