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
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