hi,
it seems Mechanize isn't working well with relative URLs -

the following lines:

 agent = WWW::Mechanize.new { |a| a.log = Logger.new("mech.log") }
 article = agent.get('/test.html')

responded with the following error:

c:/instantrails/ruby/lib/ruby/gems/1.8/gems/mechanize-0.4.3/lib/mechanize.rb:183:in 
`to_absolute_uri'
c:/instantrails/ruby/lib/ruby/gems/1.8/gems/mechanize-0.4.3/lib/mechanize.rb:114:in 
`get'

-- 
Posted via http://www.ruby-forum.com/.