It works with proxy, just by adding in initialize(): <code to detect proxy> @http_conn = proxy?(Net::HTTP::Proxy(proxy, port)):(Net::HTTP) and using @http_conn.new(...) instead of Net::HTTP.new(...) later on. -- btw, do you have any idea how often it will break? AFAIK google does not like such libraries...