Installing a proxy server behind a proxy server

I am trying to use bundler in my rails application. But I can't get it to work, since I'm behind a proxy server, and I'm not sure how to configure bundler with a proxy server

my $ http_proxy variable is also set

I use

rails rails 3.0.0 bundler - 1.0.7 Linux

And I have a red one that adds http_proxy to the .gemrc file. But I could not find this file in my linux box

please, help

amuses

sameera

+5
source share
2 answers

Hi, you need to create a file .gemrc. To set the HTTP proxy for RubyGems, type~/.gemrc

following:
---
http_proxy: PROXY_URL

PROXY_URL , http_proxy, .

+11

http_proxy: PROXY_URL ( ) .gemrc, ( ).

---
http_proxy: PROXY_URL
-1

All Articles