gem install gemname -p http://username:password@proxyaddress:port --platform=ruby
Wednesday, August 31, 2011
Install Ruby gems when behind a proxy
There are many posts out there on the net instructing you to do certain thing when behind a proxy. Different things work for different people, but none of that worked for me. So, try this one if you are facing trouble with proxy too, and keep your fingers crossed! I am using Ruby 1.9.2, with gems version 1.7.2 on Windows 7. The below command allowed me to use proxy and download and install any gem.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment