From: tilde Date: 2010-08-09T14:35:06+09:00 Subject: Re: Need help passing variable to Net::HTTP 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.