I\'m desparate, fuddling with the following problem for two(!!) days now w/o a solution.
After an update to Lion I wanted to install additional rubies using the most rec
I just went through this tutorial and it worked without any problems: Getting Rails Up: http://www.frederico-araujo.com/2011/07/30/installing-rails-on-os-x-lion-with-homebrew-rvm-and-mysql/
For anyone who should ever have this problem on Lion ... it's some Problem with duplicate headers that come from openssl. You can simply install openssl locally and tell rvm to use that local openssl version.
You can compile opnessl by hand with the prefix /usr/local or simply let rvm do the job:
rvm pkg install openssl
And then tell rvm to link against that version during ruby install:
rvm install 1.9.2 --with-openssl-dir=/path/to/your/home/.rvm/usr
In case you already have a local installation replace with:
rvm install 1.9.2 --with-openssl-dir=/usr/local
DO NOT try what can be read often:
rvm install 1.9.2 -C --with-openssl-dir=/path/to/your/home/.rvm/usr
That does not work.