# Error while installing the rails gem

**URL:** <https://www.ruby-forum.com/t/error-while-installing-the-rails-gem/174882>\
**Category:** Rails\
**Created:** [September 3, 2009, 1:47pm UTC](https://www.ruby-forum.com/t/error-while-installing-the-rails-gem/174882 "2009-09-03T13:47:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssanjuan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/8797f3/32.png) [@ssanjuan](https://www.ruby-forum.com/u/ssanjuan)\
**Post date:** [September 3, 2009, 1:47pm UTC](https://www.ruby-forum.com/t/error-while-installing-the-rails-gem/174882/1 "2009-09-03T13:47:43Z")

</div>

While trying to install the rails gem this is what happens:

C:\>gem install rails --include-dependencies  
INFO: `gem install -y` is now default and will be removed  
INFO: use --ignore-dependencies to install only the gems you list  
ERROR: Error installing rails:  
actionpack requires rack (~\> 1.0.0, runtime)

C:\>gem update rack  
Updating installed gems  
Nothing to update

As you see I previously installed the rack gem but it seems that  
something is not working during the installation.

Any ideas?

Thanks

---

<div class="post-metadata">

**Author:** ![ssanjuan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/8797f3/32.png) [@ssanjuan](https://www.ruby-forum.com/u/ssanjuan)\
**Post date:** [September 3, 2009, 2:05pm UTC](https://www.ruby-forum.com/t/error-while-installing-the-rails-gem/174882/2 "2009-09-03T14:05:15Z")

</div>

Salvador S. wrote:

> While trying to install the rails gem this is what happens:
> 
> C:\>gem install rails --include-dependencies  
> INFO: `gem install -y` is now default and will be removed  
> INFO: use --ignore-dependencies to install only the gems you list  
> ERROR: Error installing rails:  
> actionpack requires rack (~\> 1.0.0, runtime)
> 
> C:\>gem update rack  
> Updating installed gems  
> Nothing to update
> 
> As you see I previously installed the rack gem but it seems that  
> something is not working during the installation.
> 
> Any ideas?
> 
> Thanks

Checkign my previous error I have seen that while installing racks there  
must be an error because is installing another gem, activesupport .

C:\>gem install rack  
Successfully installed activesupport-2.3.3  
1 gem installed  
Installing ri documentation for activesupport-2.3.3…  
Installing RDoc documentation for activesupport-2.3.3…

---

<div class="post-metadata">

**Author:** ![ssanjuan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/8797f3/32.png) [@ssanjuan](https://www.ruby-forum.com/u/ssanjuan)\
**Post date:** [September 3, 2009, 2:10pm UTC](https://www.ruby-forum.com/t/error-while-installing-the-rails-gem/174882/3 "2009-09-03T14:10:09Z")

</div>

nvm i’m apparently dumb. I found a guild to install it so this can be  
deleted or whatever.

On Sep 3, 8:05 am, Salvador S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![ssanjuan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/8797f3/32.png) [@ssanjuan](https://www.ruby-forum.com/u/ssanjuan)\
**Post date:** [September 3, 2009, 2:41pm UTC](https://www.ruby-forum.com/t/error-while-installing-the-rails-gem/174882/4 "2009-09-03T14:41:01Z")

</div>

Salvador S. wrote:

> Salvador S. wrote:
> 
> > While trying to install the rails gem this is what happens:
> > 
> > C:\>gem install rails --include-dependencies  
> > INFO: `gem install -y` is now default and will be removed  
> > INFO: use --ignore-dependencies to install only the gems you list  
> > ERROR: Error installing rails:  
> > actionpack requires rack (~\> 1.0.0, runtime)
> > 
> > C:\>gem update rack  
> > Updating installed gems  
> > Nothing to update
> > 
> > As you see I previously installed the rack gem but it seems that  
> > something is not working during the installation.
> > 
> > Any ideas?
> > 
> > Thanks

> Checkign my previous error I have seen that while installing racks there  
> must be an error because is installing another gem, activesupport .
> 
> C:\>gem install rack  
> Successfully installed activesupport-2.3.3  
> 1 gem installed  
> Installing ri documentation for activesupport-2.3.3…  
> Installing RDoc documentation for activesupport-2.3.3…

The problem as I though is with the installation of the rack gem. As the  
remote installation I tried a local installation.

First I went to [http://gems.rubyforge.org/](http://gems.rubyforge.org/) and downloaded the rack gem  
to a folder I named Gems in My docuemnts

Second from the command shell in Windows I tried the installation again  
but this time I told the gem to do it locally

C:\Documents and Settings\SSanjuan\Mis documentos\Gems\>gem install rack  
-l  
Successfully installed rack-1.0.0  
1 gem installed  
Installing ri documentation for rack-1.0.0…  
Installing RDoc documentation for rack-1.0.0…

Afterwards I could install rails without any problem
