Mukesh Singh
2007-Oct-24 13:02 UTC
Problem installing rails through gems on Windows XP behind a firewall
I am trying to install Ruby On Rails on my office computer which runs Windows XP Professional Edition. I get this error: C:\>gem install rails --remote ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) Bad file descriptor - connect(2)(Errno::EBADF) C:\> I suspect it is the firewall that is blocking the download because I''ve had this at a previous office I worked at. If I need to seek help from the IT support guys, who''re not aware of Rails and would not be able to figure out what the problem is, what must I tell them to do precisely? Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
gene tani
2007-Oct-24 13:05 UTC
Re: Problem installing rails through gems on Windows XP behind a firewall
On Oct 24, 6:02 am, Mukesh Singh <Mukesh_Singh_N...-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:> I am trying to install Ruby On Rails on my office computer which runs > Windows XP Professional Edition. I get this error: > > C:\>gem install rails --remote > ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) > Bad file descriptor - connect(2)(Errno::EBADF) > > C:\> > > I suspect it is the firewall that is blocking the download because > I''ve had this at a previous office I worked at. > > If I need to seek help from the IT support guys, who''re not aware of > Rails and would not be able to figure out what the problem is, what > must I tell them to do precisely? > > Thanks.is this the NTLM proxy issue? http://www.softiesonrails.com/2006/11/14/we-can-all-install-rails-now --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Wayne Magor
2007-Oct-31 15:39 UTC
Re: Problem installing rails through gems on Windows XP behind a firewall
Try this: set http_proxy=http://myproxy.mysite.com:80 and then do the gem install command. If you don''t know what your proxy URL and port numbers are try going to IE -> Tools -> Internet Options -> Connections -> LAN Settings -> Proxy Server You may see that a proxy server has been setup for you there. It may be grayed out, you can click the "Use proxy server" to see the whole address and port number. Just use this in your http_proxy environment variable. The gem install will find the http_proxy env variable and it will use that. Hope that works! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Brett Veenstra
2007-Dec-20 20:21 UTC
Re: Problem installing rails through gems on Windows XP behind a firewall
If you''re behind a firewall that requires NTLM, you might want to check http://www.softiesonrails.com/2006/11/14/we-can-all-install-rails-now -- or look for RubySSPI on RubyForge. -Brett On Oct 31, 10:39 am, Wayne Magor <Wayne.Ma...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Try this: > > set http_proxy=http://myproxy.mysite.com:80 > > and then do the gem install command. If you don''t know what your > proxy URL and port numbers are try going to IE -> Tools -> Internet > Options -> Connections -> LAN Settings -> Proxy Server > > You may see that a proxy server has been setup for you there. It may > be grayed out, you can click the "Use proxy server" to see the whole > address and port number. Just use this in your http_proxy environment > variable. The gem install will find the http_proxy env variable and > it will use that. > > Hope that works!--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---