• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
Sheriffs:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
Bartenders:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

Installing Rails Issue

 
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to evaluate if Ruby can be used on one of my smaller projects and am running into an error that I can't seem to overcome. I first installed Ruby by going to the rubyinstaller.rubyforge.org site and downloading the one click installer for Windows. After installing Ruby, I confirmed everything looked good since I was able to create a small set of scripts and run them successfully. However, when I try and install Rails, by typing "gem install rails --include-dependencies" I get the following error:
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
bad file descriptor - connect(2)(Errorno::EBADF)


Anyone have any ideas?

Thanks,
Scott
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Quick Googling led me to a few pages that recommend setting the environment variable "http-proxy" before invoking gem install:
 
Your mind is under my control .... your will is now mine .... read this tiny ad
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!