{"issue":{"created_at":"2011-10-06T19:54:11Z","state":"open","updated_at":"2011-11-27T21:29:52Z","comments":3,"user":{"gravatar_id":"333b94112844cb4eee717692c99923f4","id":2031,"url":"https://api.github.com/users/whomwah","login":"whomwah","avatar_url":"https://secure.gravatar.com/avatar/333b94112844cb4eee717692c99923f4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"It also includes a small date formatting fix in jeweler.rake which was causing errors when using and old rubygems","assignee":null,"id":1837168,"number":27,"pull_request":{"patch_url":"https://github.com/mwmitchell/rsolr/pull/27.patch","html_url":"https://github.com/mwmitchell/rsolr/pull/27","diff_url":"https://github.com/mwmitchell/rsolr/pull/27.diff"},"labels":[],"title":"Add transparent support for http_proxy environment variable","closed_at":null,"html_url":"https://github.com/mwmitchell/rsolr/issues/27","milestone":null,"url":"https://api.github.com/repos/mwmitchell/rsolr/issues/27"},"action":"created","comment":{"created_at":"2011-11-27T21:29:52Z","updated_at":"2011-11-27T21:29:52Z","user":{"gravatar_id":"444c7d8579d3389a76c8497f5cb66c13","id":11620,"url":"https://api.github.com/users/mwmitchell","login":"mwmitchell","avatar_url":"https://secure.gravatar.com/avatar/444c7d8579d3389a76c8497f5cb66c13?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"I'm just saying in your application, do something like:\r\n\r\nproxies = {\"prod\" => \"x\",\r\n                 \"dev\" => \"y\",\r\n                 \"test\" => \"z\"}\r\nproxy  = proxies[HTTP_PROXY]\r\nclient = RSolr.connect(:url => \"xxx\", :proxy => proxy)\r\n\r\nENV is certainly useful, but I can imagine all kinds of ways folks might want to configure their connection settings and that to me seems like an app level concern, rather than a lower level client library one. Does the above example solve your problem?\r\n\r\nMatt","id":2890279,"url":"https://api.github.com/repos/mwmitchell/rsolr/issues/comments/2890279"}}