# Gem install of rails fails - please help if you can

**URL:** <https://www.ruby-forum.com/t/gem-install-of-rails-fails-please-help-if-you-can/99959>\
**Category:** Ruby\
**Created:** [July 26, 2006, 11:48am UTC](https://www.ruby-forum.com/t/gem-install-of-rails-fails-please-help-if-you-can/99959 "2006-07-26T11:48:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [July 26, 2006, 11:48am UTC](https://www.ruby-forum.com/t/gem-install-of-rails-fails-please-help-if-you-can/99959/1 "2006-07-26T11:48:21Z")

</div>

Can anyone tell me what’s wrong here please?  
I can’t seem to find the same problem elsewhere.

I’ve pasted in path and version numbers in case it helps.

E:\>gem -v  
0.9.0

E:\>ruby -v  
ruby 1.8.4 (2006-04-14) [i386-mswin32]

E:\>path  
PATH=e:\ruby\bin;e:\perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32  
Wbem;C:\Program Files\ATI Technologies\ATI.ACE;C:\Program Files\Common  
Files\Adobe\AGL

E:\>gem install rails --include dependencies  
Successfully installed rails-1.1.4  
Successfully installed activesupport-1.3.1  
Successfully installed activerecord-1.14.3  
Successfully installed actionpack-1.12.3  
Successfully installed actionmailer-1.2.3  
Successfully installed actionwebservice-1.1.4  
Installing ri documentation for activesupport-1.3.1…  
Installing ri documentation for activerecord-1.14.3…  
Installing ri documentation for actionpack-1.12.3…  
Installing ri documentation for actionmailer-1.2.3…  
Installing ri documentation for actionwebservice-1.1.4…  
Installing RDoc documentation for activesupport-1.3.1…  
Installing RDoc documentation for activerecord-1.14.3…  
Installing RDoc documentation for actionpack-1.12.3…  
Installing RDoc documentation for actionmailer-1.2.3…  
Installing RDoc documentation for actionwebservice-1.1.4…  
ERROR: While executing gem … (Gem::GemNotFoundException)  
Could not find dependencies (\> 0) in the repository

Thanks

Pete

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [July 26, 2006, 4:24pm UTC](https://www.ruby-forum.com/t/gem-install-of-rails-fails-please-help-if-you-can/99959/2 "2006-07-26T16:24:45Z")

</div>

On Jul 26, 2006, at 5:45 AM, removed\_email\_address@domain.invalid wrote:

> Successfully installed activesupport-1.3.1  
> Installing RDoc documentation for activerecord-1.14.3…  
> Installing RDoc documentation for actionpack-1.12.3…  
> Installing RDoc documentation for actionmailer-1.2.3…  
> Installing RDoc documentation for actionwebservice-1.1.4…  
> ERROR: While executing gem … (Gem::GemNotFoundException)  
> Could not find dependencies (\> 0) in the repository
> 
> Thanks
> 
> Pete

I’m not sure why it’s throwing the error, but it looks like  
everything got installed. Have you tried just running 'rails  
’ to see if it works?  
-Mat

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [July 26, 2006, 4:31pm UTC](https://www.ruby-forum.com/t/gem-install-of-rails-fails-please-help-if-you-can/99959/3 "2006-07-26T16:31:41Z")

</div>

Mat S. wrote:

> > ruby 1.8.4 (2006-04-14) [i386-mswin32]  
> > Successfully installed rails-1.1.4  
> > Installing RDoc documentation for activesupport-1.3.1…
> 
> I’m not sure why it’s throwing the error, but it looks like  
> everything got installed. Have you tried just running 'rails  
> ’ to see if it works?  
> -Mat

Thanks Mat. I had tried that and it spat it out!

Anyway, 3 seconds ago I got it sorted.  
I ran  
e:\ruby\>gem install rails --include-dependencies  
Note the extra -

It all worked. Hooray!

Pete
