Skip to content

Instantly share code, notes, and snippets.

@alienlebarge
Last active August 29, 2015 14:01
Show Gist options
  • Save alienlebarge/4aba1ce85041c0c661ad to your computer and use it in GitHub Desktop.
Save alienlebarge/4aba1ce85041c0c661ad to your computer and use it in GitHub Desktop.
Install ruby gem from behind a proxy

Install ruby gem from behind a proxy

Command to use with Squideman.

SET HTTP_PROXY=http://localhost:3128 $gem_name

or

gem install --http-proxy http://localhost:3128 $gem_name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment