jr3 (63K)

Installing Openssl on Ubuntu

Posted by Jessica Mon, 12 Mar 2007 04:25:00 GMT

If you have tried to install Mechanize or any gem that requires openssl on Ubuntu or Debian, you may have encountered the following error…

LoadError: no such file to load—openssl

despite the fact that you have installed openssl with “gem install libopenssl-ruby”.

Thanks to this thread, I found out that in order to install openssl, you have to tell ruby how to compile the openssl extension, like this…

cd /ruby-1.8.4/ext/openssl
ruby extconf.rb
make
make install
Trackbacks

Use the following link to trackback from your own site:
/blog/articles/trackback/12692

Comments

Leave a response

Comments


designed by jowensbysandifer