# Problems installing rails

**URL:** <https://www.ruby-forum.com/t/problems-installing-rails/48261>\
**Category:** Ruby\
**Created:** [November 18, 2005, 11:13am UTC](https://www.ruby-forum.com/t/problems-installing-rails/48261 "2005-11-18T11:13:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JensRie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9dc877/32.png) [@JensRie](https://www.ruby-forum.com/u/JensRie)\
**Post date:** [November 18, 2005, 11:13am UTC](https://www.ruby-forum.com/t/problems-installing-rails/48261/1 "2005-11-18T11:13:28Z")

</div>

Hello,

I’m just trying to install the rails framework on my Windows XP system  
and have some problems at the start:

According to the tutorial I open my command prompt and enter the  
following:

gem install rails --remote

The first columns I receive are o.k.:

* * *

## D:\ruby\>“d:\ruby\bin\ruby.exe” “d:\ruby\bin\gem” install rails --remote Attempting remote installation of ‘rails’ Updating Gem source index for: [http://gems.rubyforge.org](http://gems.rubyforge.org)

Then I would expect the question if I’d like to install the various  
dependencies, but instead I get the following (after a long period of  
waiting):

* * *

## Successfully installed rails\_analyzer\_tools, version 1.1.0 Installing RDoc documentation for rails\_analyzer\_tools-1.1.0…

All new files I can find after this are rails\_stat and rails\_stat.cmd in  
the ruby/bin directory.

Ruby itself seems to be installed correctly, I used the  
one-click-installer and am working with Ruby since several months, all  
scripts are working properly.

How can I install Rails correct?

Thanks for hints,  
Jens

---

<div class="post-metadata">

**Author:** ![JensRie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9dc877/32.png) [@JensRie](https://www.ruby-forum.com/u/JensRie)\
**Post date:** [November 18, 2005, 12:41pm UTC](https://www.ruby-forum.com/t/problems-installing-rails/48261/2 "2005-11-18T12:41:00Z")

</div>

On 11/18/05, Jens R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hello,
> 
> I’m just trying to install the rails framework on my Windows XP system  
> and have some problems at the start:
> 
> According to the tutorial I open my command prompt and enter the following:
> 
> gem install rails --remote

You need to tell gems explicitly to include the dependencies:

gem install rails --remote --include-dependencies

Regards,

Sean

---

<div class="post-metadata">

**Author:** ![JensRie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9dc877/32.png) [@JensRie](https://www.ruby-forum.com/u/JensRie)\
**Post date:** [November 18, 2005, 1:35pm UTC](https://www.ruby-forum.com/t/problems-installing-rails/48261/3 "2005-11-18T13:35:28Z")

</div>

Hi Sean,

Sean O’Halpin wrote:

> You need to tell gems explicitly to include the dependencies:
> 
> gem install rails --remote --include-dependencies

That was my first try was (according to another tutorial)…

The result was:

D:\ruby\>“d:\ruby\bin\ruby.exe” “d:\ruby\bin\gem” install rails --remote  
–include-dependencies

ERROR: While executing gem … (OptionParser::InvalidOption)  
invalid option: --include-dependencies

Now I just checked my gem version and it seems it was to old (0.8.3),  
tutorial required 0.8.11 or higher.

Now installation works, many thanks!

Regards,  
Jens
