On Linux, to install Ruby gems via a HTTP proxy. simply set the HTTP_PROXY (all upper case) environment variable to point to the proxy.
For example:
export HTTP_PROXY=http://my.proxy.server:port/
gem install sproutcore
Update: Brat points out that FTP_PROXY may also be required for FTP access. For example:
export FTP_PROXY=http://my.proxy.server:port/
1 comment:
If you plan on using FTP, you might want to set the FTP_PROXY env variable to your proxy as well.
Post a Comment