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