From: Alex Young Date: 2006-05-19T00:37:07+09:00 Subject: Re: mechanize error Dor Kalev wrote: > 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' > Where have you told it what host to look at? -- Alex