From f4a370bf6f72ea7773006ec75c60a5110ec98be7 Mon Sep 17 00:00:00 2001 From: davor Date: Fri, 22 Jun 2012 14:20:59 +0300 Subject: Enable ENV['http_proxy'] as proxy --- lib/rest_client_wrapper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rest_client_wrapper.rb b/lib/rest_client_wrapper.rb index 5d3a46b..1b56343 100644 --- a/lib/rest_client_wrapper.rb +++ b/lib/rest_client_wrapper.rb @@ -76,8 +76,8 @@ module OpenTox RestClient.proxy = nil LOGGER.debug "dv ---- local: '#{RestClient.proxy}'" else - #RestClient.proxy = ENV['http_proxy'] - RestClient.proxy = nil + RestClient.proxy = ENV['http_proxy'] + #RestClient.proxy = nil LOGGER.debug "dv ---- extern: '#{RestClient.proxy}'" end -- cgit v1.2.3