I recently came across of the ruby-2.0.0-p0 installation. After the successfully installation of the rvm i type the following command at the bash.
rvm instal
I had this exact same problem, same error message, etc. I don't know about you, but I use MacPorts, and through that I have libraries like OpenSSL installed, which I think may have contributed to my trouble.
I just got it working on my system; I'm not sure exactly what I did right but here are the steps I took:
~/.rvmrc
to match the first code block here.rvm remove 2.0.0
).~/.rvm/src
.rvm install 2.0.0 --with-opt-dir=/opt/local --autolibs=0
. /opt/local
is my MacPorts prefix directory, and autolibs=0
disables any dependency installation so it didn't have the opportunity to use something other than my MacPorts libraries. If you get through this step without red console output you're past the errors you were having above.rvm use --create 2.0.0@...
to get a non-default gemset created and then (successfully) installed a gem and its dependencies into it.I hope this helps!