Generic Instructions
If you are trying to install/update a ruby gem from behind a proxy you should follow these instructions.
- Create a system environment variable named HTTP_PROXY containing the IP address of your proxy and the port number. The value should be something like:
http://192.168.10.10:8080
You should be able to find this information in your browser settings.
- Close and relaunch any command windows. Ruby gems should now work.
Specific Instructions for Windows users
On Windows you can view/edit/create system environment variables by right clicking My Computer and selecting Properties. Select the Advanced tab and then click Environment Variables. Click New under System Variables and enter HTTP_PROXY as the name and your IP address and port as the value.