In the following line:
ref = 
WWW::Mechanize::Page.new("http://www.mininova.org',{'content-type'=>'text/html' 
})
the second apostrophe after mininova.org does not match the first one (" 
vs. ').

When I try to run it with both sides contained by a double quote, i get 
a message saying:
NoMethodError: undefined method `path' for 
"http://www.mininova.org":String

That's why I used the URI.parse method before.
this is really strange, are you sure that's the exact syntax you used?

Thanks!
Ehud
-- 
Posted via http://www.ruby-forum.com/.