Forum: Ruby mechanize 0.9.0 on ruby1.9.0/ubuntu - get(url) error

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
25ae00f7825b9b6ddc7db1fb7b589f34?d=identicon&s=25 Edouard Dantes (edouard)
on 2009-02-12 08:41
Hi,

i have switched to ruby1.9 because the better encoding support.

Now i can't get the mechanize0.9.0 to work properly.

The WWW::Mechanize.get method returns a RuntimeError:need absolute url
while I am using it the same way as I did in Ruby1.8. with a the classic
url='http://www.google.com'

what's the trick here?

thanks for comments
This topic is locked and can not be replied to.