gitlabhq/gitlabhq — Issue #342: gem install behind a proxy
Author: hyder
Created: 2012-01-27 01:09:49+00:00
State: open

In the doc: sudo gem install bundler. This works fine if the user is not behind a proxy server.

If the installing user is behind a proxy, the proxy option must be set as thus:

sudo gem install --http-proxy=http://my.proxy: bundler