Did you require 'net/https'? It seems that that lib is just not loaded/
present.

On Mar 17, 1:05 pm, Arun Kumar <[email protected]>
wrote:
> Hi,
> Is there any way to extract the html code of a https:// website in
> hpricot. When i use hpricot to access a https:// website i receive the
> following error.
>
> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require': no such file to load -- net/https (LoadError)
>   from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `require'
>   from /usr/lib/ruby/1.8/open-uri.rb:230:in `open_http'
>   from /usr/lib/ruby/1.8/open-uri.rb:616:in `buffer_open'
>   from /usr/lib/ruby/1.8/open-uri.rb:164:in `open_loop'
>   from /usr/lib/ruby/1.8/open-uri.rb:162:in `catch'
>   from /usr/lib/ruby/1.8/open-uri.rb:162:in `open_loop'
>   from /usr/lib/ruby/1.8/open-uri.rb:132:in `open_uri'
>   from /usr/lib/ruby/1.8/open-uri.rb:518:in `open'
>   from /usr/lib/ruby/1.8/open-uri.rb:30:in `open'
>   from demo.rb:15:in `valid'
>   from demo.rb:93
>
> I'm also not able to load the html data gmail, youtube etc. Is it
> because i'm using hpricot. Is there any other way to extract https
> websites. Please help me.
>
> Regards
> Arun Kumar
>
> Attachments:http://www.ruby-forum.com/attachment/3452/demo.rb
>
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to