views:

17

answers:

1

Hi , Please provide me solution for the problem of, 1) How to install ruby gems on MAC PC(OSX 10.5.1) which is behind corporate firewall .

Regards, Sun

A: 

Assuming that you use an HTTP proxy, there is a --http-proxy option for the gem app.

gem install --http-proxy http://corporate-proxy:1234 <gem_name>
igorw