From: Rupert Voelcker Date: 2008-12-11T01:53:46+09:00 Subject: Re: A bug in c:\InstantRails\ruby\lib\ruby\1.8\net\http.rb? 2008/12/10 Zhoran Tvalve : > I can not make working a line of code: > > http = Net::HTTP::Proxy('192.168.1.32', 3128, 'user', > 'password').new('http://www.yandex.ru',80) > > I got: > stack level too deep I've no idea on the ins and outs of your error, but I've used the Proxy class like so in the past: proxy_class = Net::HTTP::Proxy(PROXY_ADDRESS, PROXY_PORT) response = proxy_class.start(uri.host, uri.port) {|http| http.get(uri.path, headers) } ...may or may not be good practice but it's worked for me. Rupert