wood burning stoves 2.0*
The moose likes Ruby and the fly likes Installing Rails Issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Languages » Ruby
Bookmark "Installing Rails Issue" Watch "Installing Rails Issue" New topic
Author

Installing Rails Issue

Scott Updike
Ranch Hand

Joined: Feb 16, 2006
Posts: 92
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
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Quick Googling led me to a few pages that recommend setting the environment variable "http-proxy" before invoking gem install:


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Installing Rails Issue
 
Similar Threads
Rubygems
ERROR: Error installing mongrel
Fed Up Installing Rails.... How Do I Get Rid Of The Dependencies?
How to install "Fast Debugger" using Netbeans as IDE for Ruby?
Can't start with Ruby on Windows