# Cannot gem isntall rails

**URL:** <https://www.ruby-forum.com/t/cannot-gem-isntall-rails/180835>\
**Category:** Rails\
**Created:** [December 30, 2009, 2:34am UTC](https://www.ruby-forum.com/t/cannot-gem-isntall-rails/180835 "2009-12-30T02:34:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![max\_1219](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e99b99/32.png) [@max\_1219](https://www.ruby-forum.com/u/max_1219)\
**Post date:** [December 30, 2009, 2:34am UTC](https://www.ruby-forum.com/t/cannot-gem-isntall-rails/180835/1 "2009-12-30T02:34:30Z")

</div>

newbie in ROR.

Win 7  
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]

run admin cmd

gem install rails --include-dependencies

then I got the error here:

ERROR: While executing gem … (Gem::GemNotFoundException)  
Could not find rails (\> 0) in any repository

follow the step to install. any idea on this error?

---

<div class="post-metadata">

**Author:** ![max\_1219](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e99b99/32.png) [@max\_1219](https://www.ruby-forum.com/u/max_1219)\
**Post date:** [December 31, 2009, 2:58am UTC](https://www.ruby-forum.com/t/cannot-gem-isntall-rails/180835/2 "2009-12-31T02:58:28Z")

</div>

You need to install RubyGems first to be able to run gem install.

[]'s  
Rodrigo D.

On Tue, Dec 29, 2009 at 11:34 PM, Max G. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> then I got the error here:

–

You received this message because you are subscribed to the Google  
Groups “Ruby on Rails: Talk” group.  
To post to this group, send email to removed\_email\_address@domain.invalid.  
To unsubscribe from this group, send email to  
removed\_email\_address@domain.invalid.  
For more options, visit this group at  
[http://groups.google.com/group/rubyonrails-talk?hl=en](http://groups.google.com/group/rubyonrails-talk?hl=en).
