# Mechanize 0.9.0 on ruby1.9.0/ubuntu - get(url) error

**URL:** <https://www.ruby-forum.com/t/mechanize-0-9-0-on-ruby1-9-0-ubuntu-get-url-error/160146>\
**Category:** Ruby\
**Created:** [February 12, 2009, 8:41am UTC](https://www.ruby-forum.com/t/mechanize-0-9-0-on-ruby1-9-0-ubuntu-get-url-error/160146 "2009-02-12T08:41:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![edouard](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/c57346/32.png) [@edouard](https://www.ruby-forum.com/u/edouard)\
**Post date:** [February 12, 2009, 8:41am UTC](https://www.ruby-forum.com/t/mechanize-0-9-0-on-ruby1-9-0-ubuntu-get-url-error/160146/1 "2009-02-12T08:41:01Z")

</div>

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](http://www.google.com)’

what’s the trick here?

thanks for comments
