Ruby and OpenSSL on Ubuntu no comments

Posted by stephane Fri, 27 Jul 2007 11:57:00 GMT

If you try to use scrubyt or mechanize on ubuntu you could get some error like:

no such file to load -- openssl

After having installed Opensll via apt-get you will also need libssl_dev.

sudo apt-get openssl libssl-dev

Then now go to the ruby source folder, and in openssl extension folder: /.../ruby1.8/ext/openssl

ruby extconf.rb
make
sudo make install

check your installation with ruby -rubygems -e "require 'mechanize'"

Comments

Leave a response

Comments