Ok,
I went to the "Get Ruby on Rails ..." web page and followed
directions.
When I get to the step where I''m to do this:
gem install rails --include-dependencies
I get this error:
ERROR: While executing gem ... (SocketError)
getaddrinfo: no address associated with hostname.
Here is my configuration,
Win XP Pro
Running commands in a cygwin "bash" sh.
And I AM behind a firewall - meaning in my brower I use a proxy server
for all outside access.
Can anyone help me make the install work ?
Thanks in advance.
--
Posted via http://www.ruby-forum.com/.
in a dos shell, you should "set http_proxy" to whatever you proxy is. An other (boring) way is to download the packages 1 by 1 from rubyforge (you type gem install rails, and it will tell you what''s missing). Am other way is to use instant rails. On 8/16/06, TT <tlkj@hotmail.com> wrote:> > Ok, > > I went to the "Get Ruby on Rails ..." web page and followed directions. > > When I get to the step where I''m to do this: > > gem install rails --include-dependencies > > I get this error: > > ERROR: While executing gem ... (SocketError) > getaddrinfo: no address associated with hostname. > > Here is my configuration, > > Win XP Pro > > Running commands in a cygwin "bash" sh. > > And I AM behind a firewall - meaning in my brower I use a proxy server > for all outside access. > > Can anyone help me make the install work ? > > Thanks in advance. > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060816/06e5b577/attachment.html
gem install -p http://proxy.proxy:3128 rails --include-dependencies
;-)
...........................................................
: grato e sem mais,
: Carlos Aquino, BH/MG
: Redes de Computadores
:..........................................................
: Visite meu site :
: http://www.duard.com.br
:..........................................................
: "A Revolu??o,
: n?o ser? televisionada"
:..........................................................
TT wrote:> Ok,
>
> I went to the "Get Ruby on Rails ..." web page and followed
directions.
>
> When I get to the step where I''m to do this:
>
> gem install rails --include-dependencies
>
> I get this error:
>
> ERROR: While executing gem ... (SocketError)
> getaddrinfo: no address associated with hostname.
>
> Here is my configuration,
>
> Win XP Pro
>
> Running commands in a cygwin "bash" sh.
>
> And I AM behind a firewall - meaning in my brower I use a proxy server
> for all outside access.
>
> Can anyone help me make the install work ?
>
> Thanks in advance.
>
>
Nicolas Buet wrote:> in a dos shell, you should "set http_proxy" to whatever you proxy is. > > An other (boring) way is to download the packages 1 by 1 from rubyforge > (you > type gem install rails, and it will tell you what''s missing). > > Am other way is to use instant rails.I tried this and it worked! Thank You. -- Posted via http://www.ruby-forum.com/.
Aquino gmail wrote:> gem install -p http://proxy.proxy:3128 rails --include-dependencies > > ;-) > > ........................................................... > : grato e sem mais, > : Carlos Aquino, BH/MG > : Redes de Computadores > :.......................................................... > : Visite meu site : > : http://www.duard.com.br > :.......................................................... > : "A Revolu??o, > : n?o ser? televisionada" > :..........................................................I tried this too, and it started to work, but then got the same error. Perhaps not all code down the line, sees that -p argument. -- Posted via http://www.ruby-forum.com/.
David Mitchell
2006-Aug-16 23:18 UTC
[Rails] Re: installing Ruby on Rails behind a firewall
I''ve got the same problem where I''m working at the moment. No mix of magic proxy incantations seems to let me ''gem install'', while I can happily do all sorts of other Internet stuff without problems. I think the issue is likely to be with the proxy config at work, rather than any problem with Ruby/Rails/gem. The way I got around it is by downloading and using Instant Rails, then backing up to USB key each night, taking the key home, starting Instant Rails at home, ''gem update --include dependencies'', add any new gems, then back to work with a fully updated setup. Aside from being a bit frustrating, the approach is working fine. I can download individual gems at work, which means I can update/add things given sufficient time & patience to track down any dependencies, but I find it easier just to bring the key home and update it all while I''m doing something else. Regards Dave M. On 17/08/06, TT <tlkj@hotmail.com> wrote:> Aquino gmail wrote: > > gem install -p http://proxy.proxy:3128 rails --include-dependencies > > > > ;-) > > > > ........................................................... > > : grato e sem mais, > > : Carlos Aquino, BH/MG > > : Redes de Computadores > > :.......................................................... > > : Visite meu site : > > : http://www.duard.com.br > > :.......................................................... > > : "A Revolu??o, > > : n?o ser? televisionada" > > :.......................................................... > > I tried this too, and it started to work, but then got the same error. > Perhaps not all code down the line, sees that -p argument. > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >