How to use rails bundler behind a authenticated proxy? -


i new ruby , getting started learn ruby on rails. behind authenticated proxy network.

i researched on internet, answers didn't work me.

password has special characters

i have exported http_proxy in ruby shell

export http_proxy=ht tp://foo:b\@r\@192.168.1.1:8080 

when issued bundle update below error

:/railsinstaller/ruby1.9.3/lib/ruby/1.9.1/uri/generic.rb:213:in `initialize': scheme http not accept registry part: foo:b@r@192.168.1.1:8080 (or bad hostname?) (uri::invalidurierror)         c:/railsinstaller/ruby1.9.3/lib/ruby/1.9.1/uri/http.rb:84:in `initialize'         c:/railsinstaller/ruby1.9.3/lib/ruby/1.9.1/uri/common.rb:214:in `new'         c:/railsinstaller/ruby1.9.3/lib/ruby/1.9.1/uri/common.rb:214:in `parse' 

i tried remove \ before 2 in both places, didn't work.

i have put content in .gemrc file in folder create first_app yet didn't work.

anyone has used rails behind authenticated proxy, please me?


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -