From: Nobuyoshi Nakada Date: 2009-05-07T15:04:44+09:00 Subject: [ruby-core:23381] Re: [Bug #863] Openssl issues with fresh compile on Ubuntu Hi, At Sat, 13 Dec 2008 01:38:09 +0900, Brian Takita wrote in [ruby-core:20502]: > Openssl compiled successfully. However when I run irb, I get the following error. > > uninitialized constant OpenSSL::SSL::VERIFY_PEER in ssl.rb How do you reproduce it? $ ruby18 -ropenssl -e 'p OpenSSL::SSL::VERIFY_PEER' 1 $ ruby18 -ropenssl.so -e 'p OpenSSL::SSL::VERIFY_PEER' /opt/local/lib/ruby/1.8/openssl/ssl.rb:26: uninitialized constant OpenSSL::SSL::VERIFY_PEER (NameError) from /opt/local/lib/ruby/1.8/openssl.rb:23:in `require' from /opt/local/lib/ruby/1.8/openssl.rb:23 If this is the case, why do you require the extension only, but not the script? -- Nobu Nakada