# Ruby On Rails install failing

**URL:** <https://rubytalk.org/t/ruby-on-rails-install-failing/30992>\
**Category:** ruby-talk\
**Created:** [14 September 2006 02:55 UTC](https://rubytalk.org/t/ruby-on-rails-install-failing/30992 "2006-09-14T02:55:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![roschler](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@roschler](https://rubytalk.org/u/roschler)\
**Post date:** [14 September 2006 02:55 UTC](https://rubytalk.org/t/ruby-on-rails-install-failing/30992/1 "2006-09-14T02:55:47Z")

</div>

I'm trying to get Rails installed on my system. I installed the Ruby  
On Rails 1.0.2 package for Eclipse. Then I used the one-click  
installer for Ruby 1.8.5 and configured Eclipse with my install  
directory (C:\Ruby\bin\ruby.exe). The trouble started when I went to  
install the Rails gem, version 1.1.6 (rails-1.1.6.gem). Here is what  
is happening on my Win2k box when I try to install the gem from a  
Command Window:

C:\Downloads\> gem install --debug rails --include-dependencies

Exception `Errno::ENOENT' at  
c:/ruby/lib/ruby/site\_ruby/1.8/rubygems/config\_file.rb:50 - No such  
file or directory - C:\Documents and Settings\Robert/.gemrc

Exception `RuntimeError' at c:/ruby/lib/ruby/site\_  
ruby/1.8/rubygems/installer.rb:111 - rails requires activesupport =  
1.3.1  
ERROR: Error installing gem rails[.gem]: rails requires activesupport =  
1.3.1

Looks like a path thing problem but I don't know what to do to fix it.  
The system I'm on does have a full fledged connection to the Internet.

Thanks,  
Robert

---

<div class="post-metadata">

**Author:** ![Cary\_Walker](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Cary\_Walker](https://rubytalk.org/u/Cary_Walker)\
**Post date:** [5 January 2007 18:36 UTC](https://rubytalk.org/t/ruby-on-rails-install-failing/30992/2 "2007-01-05T18:36:25Z")

</div>

Robert (or anyone else)

Did you figure out what the problem was?

I'm getting the same error trying to install rails

C:\ruby\>gem install rails --include-dependencies --debug  
Exception `Errno::ENOENT' at  
c:/ruby/lib/ruby/site\_ruby/1.8/rubygems/config\_file.rb:50 - No such file  
or directory - C:\Documents and Settings\cary/.gemrc  
Exception `LoadError' at  
c:/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27 - no such  
file to load -- sources

Also, when I try and list the remote packages the session just hangs.

C:\ruby\>gem list -r

\*\*\* REMOTE GEMS \*\*\*

I'm on Win XP SP2. Any help is appreciated.

Thanks,  
Cary

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

---

<div class="post-metadata">

**Author:** ![James\_Britt3](https://avatars.discourse-cdn.com/v4/letter/j/b782af/32.png) [@James\_Britt3](https://rubytalk.org/u/James_Britt3)\
**Post date:** [5 January 2007 18:41 UTC](https://rubytalk.org/t/ruby-on-rails-install-failing/30992/3 "2007-01-05T18:41:37Z")

</div>

Cary Walker wrote:

> Robert (or anyone else)
> 
> Did you figure out what the problem was?
> 
> I'm getting the same error trying to install rails
> 
> C:\ruby\>gem install rails --include-dependencies --debug  
> Exception `Errno::ENOENT' at c:/ruby/lib/ruby/site\_ruby/1.8/rubygems/config\_file.rb:50 - No such file or directory - C:\Documents and Settings\cary/.gemrc

Is this a matter of some code choking on paths that contain white space?

When developing on Windows Ive learned to avid putting anything anyplace that has gaps in the full file paths or names.

> **···**
>
> --  
> James Britt

---

<div class="post-metadata">

**Author:** ![Eric\_Hodel1](https://avatars.discourse-cdn.com/v4/letter/e/a9adbd/32.png) [@Eric\_Hodel1](https://rubytalk.org/u/Eric_Hodel1)\
**Post date:** [5 January 2007 19:02 UTC](https://rubytalk.org/t/ruby-on-rails-install-failing/30992/4 "2007-01-05T19:02:37Z")

</div>

I'll bet you're at work behind a proxy of some sort.

Am I right?

> **···**
>
> On Jan 5, 2007, at 10:36, Cary Walker wrote:
> 
> > Robert (or anyone else)
> > 
> > Did you figure out what the problem was?
> > 
> > I'm getting the same error trying to install rails
> > 
> > C:\ruby\>gem install rails --include-dependencies --debug  
> > Exception `Errno::ENOENT' at  
> > c:/ruby/lib/ruby/site\_ruby/1.8/rubygems/config\_file.rb:50 - No such file  
> > or directory - C:\Documents and Settings\cary/.gemrc  
> > Exception `LoadError' at  
> > c:/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27 - no such  
> > file to load -- sources
> > 
> > Also, when I try and list the remote packages the session just hangs.
> > 
> > C:\ruby\>gem list -r
> > 
> > \*\*\* REMOTE GEMS \*\*\*
> > 
> > I'm on Win XP SP2. Any help is appreciated.
> 
> --  
> Eric Hodel - drbrain@segment7.net - [http://blog.segment7.net](http://blog.segment7.net)
> 
> I LIT YOUR GEM ON FIRE!
