Sunday, February 20, 2011

rails error: no such file to load -- libssl

Yesterday I install rails 3 on my pc (Ubuntu 10.10) & create new application
when i run this application i got this error "no such file to load -- libssl"

I spend whole day to fix this error search, read lot of stuff on net & finally
i got simple solution i run only following 4 commands & error gone.

1) $ sudo apt-get install libopenssl-ruby

2) $ cd /usr/local/src/ruby-1.9.2-p0/ext/openssl/

3) $ sudo ruby extconf.rb

4) $ sudo make install

that set