This forum is no longer active. Please post your questions to our new community site
Trouble installing Gems
|
|
I thought I could solve this, but I’m going to need some help. After a little research, I found this article that had more detail on installing mongrel-rails… The issue is that mongrel_rails (which was installed) needs to have win32-services installed, which wasn’t. ERROR: While executing gem..<gem::remotefetcher:fetcherror> Bad File descriptor – connect(2)(Errno::EBADF) I had previously set the environment variables to use our corporate proxy with this bat file as follows…. @echo off I can’t tell if this really is a connection issue or what. Please advise. |
|
|
Hi, The correct command is:
You have to execute this command in “Use Ruby” console. If you have Windows Vista you should remember to launch this console as administrator. win32-service and mongrel-service gems are included in 1.0-beta-4 version. You can see the list of the gems installed with:
|
|
|
After some more digging, we discovered we actually failed to set the environment variables. We also discovered that our proxy server requires the domain with the network ID. This bat file did the trick… @echo off The other thing we discovered is that this only lasts within the ruby command console context, so after executing use_ruby, on must execute the bat file within the console, and then install the gems. This seemed to work. |

