> require 'net/http'
> proxy_uri =A0 =A0 =3D URI.parse(ENV['http_proxy'])
> proxy_class =3D Net::HTTP::Proxy(proxy.host, proxy.port)

I meant,

proxy_class =3D Net::HTTP::Proxy(proxy_url.host, proxy_url.port)

--=20
Anurag Priyam
http://about.me/yeban/