Usually programs check the environment variable HTTP_PROXY. So does gem. But gem also accepts a command-line option as described here: http://www.rubygems.org/read/chapter/13#page51
cheers On Mon, May 5, 2008 at 5:37 PM, youhaodeyi <[EMAIL PROTECTED]> wrote: > > My network is fine but go through proxy. How can I set the proxy setting > for > gem? > > > Matthieu Riou-5 wrote: > > > > On Sun, May 4, 2008 at 6:44 PM, youhaodeyi <[EMAIL PROTECTED]> wrote: > > > >> > >> I am building ODE and got this error when running "gem install buildr > -v > >> 1.2.4" > >> ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) > >> getaddrinfo: no address associated with hostname.(SocketError) > >> > >> I work on Windows OS. > > > > > > Seems that you don't have any networking configured on your machine, it > > tries to download buildr but apparently can't connect. > > > > Cheers, > > Matthieu > > > > > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/A-problem-of-building-ODE.-tp17053508p17053508.html > >> Sent from the Apache Ode User mailing list archive at Nabble.com. > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/A-problem-of-building-ODE.-tp17053508p17071503.html > Sent from the Apache Ode User mailing list archive at Nabble.com. > >
