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

后端 未结 2 1006
半阙折子戏
半阙折子戏 2020-12-24 10:56

I have been trying to install RVM and Ruby 2.1.1 onto my new Mac (OS 10.9.2), and everything seems to be going well until I try to install any version of Ruby.

My in

相关标签:
2条回答
  • 2020-12-24 11:43

    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.

    0 讨论(0)
  • 2020-12-24 11:44

    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

    0 讨论(0)
提交回复
热议问题