views:

33

answers:

2

Hi, I am trying to install ruby gems on my MAC (OSX 10.5.1) behind corporate firewall proxy but i am getting error for connection refuse. kindly help me out to resolve this problem.

Thanks & regards Ravi

A: 

Specify the proxy to use:

export HTTP_PROXY='http://username:[email protected]:port/'

If it's a Windows proxy (common in EnterpriseLand), it will use a custom NTLM authentication, which normal Unix apps don't do. To fix it, get NTLMAPS - a small Python app that acts as a local regular proxy and handballs your credential via NTLM authentication to the Windows proxy.

nailer
A: 

Download the gem to your harddrive and install it manually by doing

gem install gem_file.gem
Zepplock