caolan/jam — pull request #12 by richardbutler (2012-06-21 09:48:44+00:00)
Title: HTTP proxy settings

I had trouble getting Jam to install packages through my work Mac today - we're behind a proxy - bombing out with:

Error: Error: getaddrinfo ENOENT
at errnoException (dns.js:31:11)
at Object.onanswer [as oncomplete] (dns.js:140:16)

So here's the fix I used, using the HTTP_PROXY environment variable; feel free to include it if you feel it's useful.

Rich