skip to main
|
skip to sidebar
johnfredadams - tech
Thursday, July 8, 2010
Changing your gem environment
Look for a file called .gemrc in your home directory - remember it's a hidden file, so might not be immediately visible.
Edit it in the normal way, so, if you want a proxy type in:
http_proxy:
http://px1.org.uk:8080
one the second line.
Bob's your uncle.
Friday, March 26, 2010
Using gems from the command line behind a proxy
Before running the gem commands:
export HTTP_PROXY=http://proxy_url:proxy_port
simples
Friday, February 12, 2010
How to get gems running from behind proxy: e.g. heroku
First, type in the following in the command line
export HTTP_PROXY='http://proxy.com:8080'
Then any gems you use from there will work via your proxy.
I used this to get the heroku gem running
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)
Blog Archive
▼
2010
(3)
▼
July
(1)
Changing your gem environment
►
March
(1)
Using gems from the command line behind a proxy
►
February
(1)
How to get gems running from behind proxy: e.g. he...
►
2009
(1)
►
December
(1)
►
2008
(20)
►
December
(1)
►
November
(4)
►
September
(1)
►
July
(1)
►
May
(2)
►
April
(7)
►
March
(4)
About Me
John Adams
View my complete profile