J
Joaquin Cuenca Abela
Hi!
I'm just starting to play with ruby, and doing a toy application I
wanted to use the net/https module.
If I try to execute the program:
require 'net/https'
http = Net::HTTP.new('www.cise.ufl.edu', 443)
http.use_ssl = true
http.get2("/") { |r| p r.body }
I get "in `require': No such file to load -- net/https (LoadError)".
I interpret that as "you don't have the net/https module".
Does anybody know where can I find this module for windows? (I installed
the "One-Click Ruby Installer")
I've googled around a bit, but it seems that the ossl package has being
integrated in ruby long ago, so I don't know if net/https is supposed to
work out-of-the-box.
I'm sorry if this "installation" question doesn't suit this newsgroup.
If so, please just refer to the right mailing list or newsgroup (if any
).
Cheers,
I'm just starting to play with ruby, and doing a toy application I
wanted to use the net/https module.
If I try to execute the program:
require 'net/https'
http = Net::HTTP.new('www.cise.ufl.edu', 443)
http.use_ssl = true
http.get2("/") { |r| p r.body }
I get "in `require': No such file to load -- net/https (LoadError)".
I interpret that as "you don't have the net/https module".
Does anybody know where can I find this module for windows? (I installed
the "One-Click Ruby Installer")
I've googled around a bit, but it seems that the ossl package has being
integrated in ruby long ago, so I don't know if net/https is supposed to
work out-of-the-box.
I'm sorry if this "installation" question doesn't suit this newsgroup.
If so, please just refer to the right mailing list or newsgroup (if any
).
Cheers,