On 12 February 2011 10:26, Christian Fazzini <redmine / ruby-lang.org> wrote:
> Issue #4373 has been updated by Christian Fazzini.
>
>
> I followed: http://rvm.beginrescueend.com/packages/openssl/. I have tried installing ruby via rvm with numerous attempts. Making sure I remove the previous version before installing a new one:
>
> rvm install 1.9.2 --with-openssl-dir=/usr
> rvm install 1.9.2 --with-openssl-dir=/usr/local
>
> In a terminal window: ruby -r twitter -e 'puts Twitter.user("sferik").location' works fine.
> In Rails console, it still returns the error!

Maybe the command line is incorrect.
The RVM documentation specify configure options should be passed with
-C (http://rvm.beginrescueend.com/rvm/cli/)
But the RVM doc about openssl (http://rvm.beginrescueend.com/rvm/cli/)
show you can pass it directly.

You could try:
rvm install 1.9.2 -C --with-openssl-dir=/usr
Or maybe, to allow both rvm and ruby configure script to know what you want:
rvm install 1.9.2 --with-openssl-dir=/usr -C --with-openssl-dir=/usr