Menu
Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
Problems with Net::HTTPS in ruby-1.8.0-preview3
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="James F. Hranicky, post: 4410819"] 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('[URL="http://www.cise.ufl.edu"]www.cise.ufl.edu[/URL]', 443) http.use_ssl = true p http.use_ssl http.get2("/") { |r| p r.body } end Main() ------------------ <jfh@waterspout:~/scratch> 462 : ./[URL="http://www.rb"]www.rb[/URL] /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 ./[URL="http://www.rb:3:in"]www.rb:3:in[/URL] `require' from ./[URL="http://www.rb:3"]www.rb:3[/URL] 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 [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
Problems with Net::HTTPS in ruby-1.8.0-preview3
Top