I have reinstalled Ruby on Rails and I'm trying this operation from page 19
gem update --system
I found the following code to run before the gem update, and it goes through the proxy:
Set HTTP_PROXY=http://proxy-address:proxy-port
The problem is that I also need to put my username and password in. I get an HTTP Reponse 407.
What code could I use to insert the username and password?