Problems with Net:HTTP class

I’m testing the http module in console.
BUt I got the following error.
Anyone knows why?

Net::HTTP.get_print ‘’, ‘index.html’
SystemStackError: stack level too deep
from C:/InstantRails/ruby/lib/ruby/1.8/net/http.rb:451:in
newobj' from C:/InstantRails/ruby/lib/ruby/1.8/net/http.rb:451:innewobj’
from C:/InstantRails/ruby/lib/ruby/1.8/net\http.rb:451:in new' from C:/InstantRails/ruby/lib/ruby/1.8/net\http.rb:374:inget_response’

    from C:/InstantRails/ruby/lib/ruby/1.8/net\http.rb:337:in

from (irb):2


Bontina C. wrote:

    from C:/InstantRails/ruby/lib/ruby/1.8/net/http.rb:451:in

Some kind of recursive loop, it looks like. The code worked for me, in
Ruby 1.8.5, but I’m not using Instant Rails - maybe there’s an issue