From: "James F. Hranicky" Date: 2003-07-01T22:54:33+09:00 Subject: Problems with Net::HTTPS in ruby-1.8.0-preview3 I'm having trouble using Net::HTTPS/ossl-0.2.0-pre2 with the 1.8.0-preview3: ------------------ #!/local/bin/ruby require 'net/https' def Main http = Net::HTTP.new('www.cise.ufl.edu', 443) http.use_ssl = true p http.use_ssl http.get2("/") { |r| p r.body } end Main() ------------------ 462 : ./www.rb /usr/local/lib/ruby/site_ruby/1.8/net/https.rb:113: warning: toplevel constant HTTPRequest referenced by Net::NetPrivate::HTTPRequest /usr/local/lib/ruby/site_ruby/1.8/net/https.rb:113: undefined superclass `HTTPRequest' (TypeError) from ./www.rb:3:in `require' from ./www.rb:3 Any ideas? This works fine with ruby 1.7.2 (2002-04-18) and ossl-0.1.0. Testing platforms: Solaris 8 ruby-1.7.2 ossl-0.1.0 : success Solaris 8 ruby-1.8.0-pre3 ossl-0.2.0-pre : fail FreeBSD 4.8 ruby-1.8.0-pre3 ossl-0.2.0-pre : fail ---------------------------------------------------------------------- | Jim Hranicky, Senior SysAdmin UF/CISE Department | | E314D CSE Building Phone (352) 392-1499 | | jfh@cise.ufl.edu http://www.cise.ufl.edu/~jfh | ---------------------------------------------------------------------- About politics: Don't worry about results It's the thought that counts