This isn't a question, I just want to document it in case it helps someone else who runs into this problem on Ubuntu.
I'm starting to use Mechanize to do some integrated testing. Ruby dumped:
/home/lsiden/.rvm/ruby-1.9.1-p243/lib/ruby/1.9.1/net/https.rb:102:in `require': no such file to load -- openssl (LoadError)
from /home/lsiden/.rvm/ruby-1.9.1-p243/lib/ruby/1.9.1/net/https.rb:102:in `<top (required)>'
- sudo apt-get install libopenssl-ruby1.9.1
- sudo apt-get install libssl-dev
Then I followed the instruction in the article, went to $HOME/.rvm/src/ruby-1.9.1-p243/ext/openssl and did:
- ruby extconf.rb
- make
- sudo make install
Hope this helps someone else.
Larry Siden,
734-926-9614,
http://umich.edu/~lsiden
The United States is a nation of laws, badly written and randomly enforced.
--Frank Zappa 1940-1993