tilde wrote:
> On 08/09/10 04:18, Samuel Sternhagen wrote:
>> url = "'google.com', '/index.html'"
> 
> url="google.com/index.html"
> Net::HTTP.get_print(URI.parse(url))
> 
> get and get_print expect an URI, if you don't specify both host and path
> as strings.

Thanks :D It is working now.
This one had me stuck for hours.

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