chrisjroos@gmail.com
10/20/2006 1:43:00 PM
On 10/20/06, jakattack2@gmail.com <jakattack2@gmail.com> wrote:
> I tried the code that you suggest and I get the following error
> messages. The error seems to be thrown on this line
>
> response = http.get('/')
>
> Janak
>
> # Error messages
> c:/ruby/lib/ruby/1.8/net/http.rb:565:in `connect': undefined method
> `verify_mode' for nil:NilClass (NoMethodError)
> from c:/ruby/lib/ruby/1.8/net/http.rb:555:in `do_start'
> from c:/ruby/lib/ruby/1.8/net/http.rb:544:in `start'
> from c:/ruby/lib/ruby/1.8/net/http.rb:1031:in `request'
> from c:/ruby/lib/ruby/1.8/net/http.rb:771:in `get'
> from adtest.rb:32
>
Did you require net/https (NOT net/http)?
Chris