From: Marcelo David Date: 2009-09-03T20:33:46+09:00 Subject: Re: smtp_tls 1.0.1 Released Marcelo David wrote: > Eric Hodel wrote: >> On Sep 2, 2009, at 12:24, Marcelo David wrote: >>>> server.send_message message, from, to >>>> end >>> >>> Hi, >>> I did the example and got this error: >>> >>> uninitialized constant Net::SMTP::OpenSSL >>> >>> the error occurs when run smtp.enable_starttls >>> >>> Same hit? >> >> Do you have openssl? >> >> $ ruby -ropenssl -e 'puts "I have OpenSSL!"' >> I have OpenSSL! > > Thanks Eric. > > I got "no such file to load -- openssl (LoadError)" > > Then I used (on ubuntu 9.4): > > sudo apt-get install libopenssl-ruby libssl0.9.8 > > And Not resolved. > > I'm using ruby 1.9.1p0. Eric, I removed ruby 1.9 and used apt-get to install 1.8.7 with libs: $ sudo apt-get install ruby irb rdoc rake rubygems libopenssl-ruby1.8 libssl0.9.8 That works!!! Thanks -- Posted via http://www.ruby-forum.com/.