From: Samuel Kadolph Date: 2011-07-20T06:34:03+09:00 Subject: Re: forcing all http requests to follow system proxy configuration --20cf307f338c98a70a04a872df24 Content-Type: text/plain; charset=ISO-8859-1 I've been working on a gem that lets you force TCPSocket to use a proxy. I haven't pushed it to rubygems yet but you can clone my repo and install it and try it out. https://github.com/samuelkadolph/ruby-proxifier On Tue, Jul 19, 2011 at 2:30 AM, Anurag Priyam wrote: > > require 'net/http' > > proxy_uri = URI.parse(ENV['http_proxy']) > > proxy_class = Net::HTTP::Proxy(proxy.host, proxy.port) > > I meant, > > proxy_class = Net::HTTP::Proxy(proxy_url.host, proxy_url.port) > > -- > Anurag Priyam > http://about.me/yeban/ > > -- *Samuel Kadolph *E samuel@kadolph.com --20cf307f338c98a70a04a872df24--