# Rails: gem install rails is bombing

**URL:** <https://rubytalk.org/t/rails-gem-install-rails-is-bombing/14584>\
**Category:** ruby-talk\
**Created:** [4 November 2004 03:33 UTC](https://rubytalk.org/t/rails-gem-install-rails-is-bombing/14584 "2004-11-04T03:33:45Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![J\_D](https://avatars.discourse-cdn.com/v4/letter/j/58f4c7/32.png) [@J\_D](https://rubytalk.org/u/J_D)\
**Post date:** [4 November 2004 03:33 UTC](https://rubytalk.org/t/rails-gem-install-rails-is-bombing/14584/1 "2004-11-04T03:33:45Z")

</div>

Hi,

I'm running into a problem installing rails using gem. How do I fix this?

debian:/usr/local/src# ruby --version  
ruby 1.8.2 (2004-08-24) [i386-linux]

debian:/usr/local/src# gem install rails  
Attempting local installation of 'rails'  
Local gem file not found: rails\*.gem  
Attempting remote installation of 'rails'  
Successfully installed rails, version 0.8.0  
/usr/local/lib/site\_ruby/1.8/rubygems/loadpath\_manager.rb:5:in `require\_\_': No such file to load -- rdoc/rdoc (LoadError)  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/local/lib/site\_ruby/1.8/rubygems/loadpath\_manager.rb:5:in `require'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/local/lib/site\_ruby/1.8/rubygems/doc\_manager.rb:42:in `generate\_rdoc'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/local/lib/site\_ruby/1.8/rubygems/gem\_commands.rb:167:in `execute'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/local/lib/site\_ruby/1.8/rubygems/gem\_commands.rb:166:in `each'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/local/lib/site\_ruby/1.8/rubygems/gem\_commands.rb:166:in `execute'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/local/lib/site\_ruby/1.8/rubygems/command.rb:49:in `invoke'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/local/lib/site\_ruby/1.8/rubygems/cmd\_manager.rb:90:in `process\_args'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/local/lib/site\_ruby/1.8/rubygems/cmd\_manager.rb:63:in `run'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/local/lib/site\_ruby/1.8/rubygems/gem\_runner.rb:9:in `run'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/bin/gem:11

---

<div class="post-metadata">

**Author:** ![David\_Heinemeier\_Ha2](https://avatars.discourse-cdn.com/v4/letter/d/fbc32d/32.png) [@David\_Heinemeier\_Ha2](https://rubytalk.org/u/David_Heinemeier_Ha2)\
**Post date:** [4 November 2004 07:18 UTC](https://rubytalk.org/t/rails-gem-install-rails-is-bombing/14584/2 "2004-11-04T07:18:30Z")

</div>

> I'm running into a problem installing rails using gem. How do I fix this?

You don't have RDoc installed. Debian has chopped off Ruby into tiny packages. Have a look at [Ruby on Rails — A web-app framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.](http://www.rubyonrails.org/show/RailsOnDebian) for help.

> **···**
>
> --  
> David Heinemeier Hansson,  
> [http://www.basecamphq.com/](http://www.basecamphq.com/) -- Web-based Project Management  
> [http://www.rubyonrails.org/](http://www.rubyonrails.org/) -- Web-application framework for Ruby  
> [http://macromates.com/](http://macromates.com/) -- TextMate: Code and markup editor (OS X)  
> [http://www.loudthinking.com/](http://www.loudthinking.com/) -- Broadcasting Brain

---

<div class="post-metadata">

**Author:** ![Ara.T.Howard6](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@Ara.T.Howard6](https://rubytalk.org/u/Ara.T.Howard6)\
**Post date:** [4 November 2004 14:43 UTC](https://rubytalk.org/t/rails-gem-install-rails-is-bombing/14584/3 "2004-11-04T14:43:44Z")

</div>

i'm thinking of switching to debian but am kind of a tar.gz kind of package  
guy and don't like the sound of that at all... can any of you ruby/debian  
people give any information on debian as a ruby development platform?

cheers.

-a

> **···**
>
> On Thu, 4 Nov 2004, David Heinemeier Hansson wrote:
> 
> > > I'm running into a problem installing rails using gem. How do I fix  
> > > this?
> > 
> > You don't have RDoc installed. Debian has chopped off Ruby into tiny  
> > packages. Have a look at [Ruby on Rails: Compress the complexity of modern web apps](http://www.rubyonrails.org/show/RailsOnDebian) for  
> > help.
> 
> # --
> 
> > EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov  
> > PHONE :: 303.497.6469  
> > When you do something, you should burn yourself completely, like a good  
> > bonfire, leaving no trace of yourself. --Shunryu Suzuki
> 
> ===============================================================================

---

<div class="post-metadata">

**Author:** ![Jamis\_Buck4](https://avatars.discourse-cdn.com/v4/letter/j/54ee81/32.png) [@Jamis\_Buck4](https://rubytalk.org/u/Jamis_Buck4)\
**Post date:** [4 November 2004 15:09 UTC](https://rubytalk.org/t/rails-gem-install-rails-is-bombing/14584/4 "2004-11-04T15:09:20Z")

</div>

If tar.gz's are your thing, Ara, you might enjoy Gentoo ([http://www.gentoo.org](http://www.gentoo.org)) as well. I've found my gentoo install to be quite capable as a ruby development platform.

- Jamis

> **···**
>
> Ara.T.Howard@noaa.gov wrote:
> 
> > On Thu, 4 Nov 2004, David Heinemeier Hansson wrote:
> > 
> > > > I'm running into a problem installing rails using gem. How do I fix  
> > > > this?
> > > 
> > > You don't have RDoc installed. Debian has chopped off Ruby into tiny  
> > > packages. Have a look at [Ruby on Rails — A web-app framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.](http://www.rubyonrails.org/show/RailsOnDebian) for  
> > > help.
> > 
> > i'm thinking of switching to debian but am kind of a tar.gz kind of package  
> > guy and don't like the sound of that at all... can any of you ruby/debian  
> > people give any information on debian as a ruby development platform?
> 
> --  
> Jamis Buck  
> jgb3@email.byu.edu  
> [http://www.jamisbuck.org/jamis](http://www.jamisbuck.org/jamis)

---

<div class="post-metadata">

**Author:** ![Jim\_Weirich1](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@Jim\_Weirich1](https://rubytalk.org/u/Jim_Weirich1)\
**Post date:** [4 November 2004 16:08 UTC](https://rubytalk.org/t/rails-gem-install-rails-is-bombing/14584/5 "2004-11-04T16:08:46Z")

</div>

Ara.T.Howard@noaa.gov said:

> **···**
>
> > On Thu, 4 Nov 2004, David Heinemeier Hansson wrote:
> > 
> > > > I'm running into a problem installing rails using gem. How do I fix  
> > > > this?
> > > 
> > > You don't have RDoc installed. Debian has chopped off Ruby into tiny  
> > > packages. Have a look at [Ruby on Rails — A web-app framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.](http://www.rubyonrails.org/show/RailsOnDebian)  
> > > for help.
> > 
> > i'm thinking of switching to debian but am kind of a tar.gz kind of  
> > package  
> > guy and don't like the sound of that at all... can any of you ruby/debian  
> > people give any information on debian as a ruby development platform?
> 
> I use Debian for my major Ruby development. I like the platform,  
> especially the easy upgrading. However, I compile and build Ruby from  
> source. The Debian package pipeline is quite long, and I like my Ruby a  
> litter more current than what they offer.
> 
> --  
> -- Jim Weirich jim@weirichhouse.org [http://onestepback.org](http://onestepback.org)  
> -----------------------------------------------------------------  
> "Beware of bugs in the above code; I have only proved it correct,  
> not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)

---

<div class="post-metadata">

**Author:** ![Ara.T.Howard6](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@Ara.T.Howard6](https://rubytalk.org/u/Ara.T.Howard6)\
**Post date:** [4 November 2004 15:53 UTC](https://rubytalk.org/t/rails-gem-install-rails-is-bombing/14584/6 "2004-11-04T15:53:44Z")

</div>

you are the second person to mention gentoo this week - i'll check it out.

cheers.

-a

> **···**
>
> On Fri, 5 Nov 2004, Jamis Buck wrote:
> 
> > Ara.T.Howard@noaa.gov wrote:
> > 
> > > On Thu, 4 Nov 2004, David Heinemeier Hansson wrote:
> > > 
> > > > > I'm running into a problem installing rails using gem. How do I fix  
> > > > > this?
> > > > 
> > > > You don't have RDoc installed. Debian has chopped off Ruby into tiny  
> > > > packages. Have a look at [Ruby on Rails: Compress the complexity of modern web apps](http://www.rubyonrails.org/show/RailsOnDebian)  
> > > > for  
> > > > help.
> > > 
> > > i'm thinking of switching to debian but am kind of a tar.gz kind of package  
> > > guy and don't like the sound of that at all... can any of you ruby/debian  
> > > people give any information on debian as a ruby development platform?
> > 
> > If tar.gz's are your thing, Ara, you might enjoy Gentoo  
> > ([http://www.gentoo.org](http://www.gentoo.org)) as well. I've found my gentoo install to be  
> > quite capable as a ruby development platform.
> 
> # --
> 
> > EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov  
> > PHONE :: 303.497.6469  
> > When you do something, you should burn yourself completely, like a good  
> > bonfire, leaving no trace of yourself. --Shunryu Suzuki
> 
> ===============================================================================

---

<div class="post-metadata">

**Author:** ![Tobias\_Luetke1](https://avatars.discourse-cdn.com/v4/letter/t/e19adc/32.png) [@Tobias\_Luetke1](https://rubytalk.org/u/Tobias_Luetke1)\
**Post date:** [4 November 2004 17:12 UTC](https://rubytalk.org/t/rails-gem-install-rails-is-bombing/14584/7 "2004-11-04T17:12:57Z")

</div>

Consider me the thrid, gentoo would be the right choice.

> **···**
>
> On Fri, 5 Nov 2004 00:53:44 +0900, ara.t.howard@noaa.gov \<ara.t.howard@noaa.gov\> wrote:
> 
> > On Fri, 5 Nov 2004, Jamis Buck wrote:
> > 
> > \> Ara.T.Howard@noaa.gov wrote:  
> > \>\> On Thu, 4 Nov 2004, David Heinemeier Hansson wrote:  
> > \>\>  
> > \>\>\>\> I'm running into a problem installing rails using gem. How do I fix  
> > \>\>\>\> this?  
> > \>\>\>  
> > \>\>\>  
> > \>\>\> You don't have RDoc installed. Debian has chopped off Ruby into tiny  
> > \>\>\> packages. Have a look at [Ruby on Rails — A web-app framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.](http://www.rubyonrails.org/show/RailsOnDebian)  
> > \>\>\> for  
> > \>\>\> help.  
> > \>\>  
> > \>\>  
> > \>\> i'm thinking of switching to debian but am kind of a tar.gz kind of package  
> > \>\> guy and don't like the sound of that at all... can any of you ruby/debian  
> > \>\> people give any information on debian as a ruby development platform?  
> > \>  
> > \> If tar.gz's are your thing, Ara, you might enjoy Gentoo  
> > \> ([http://www.gentoo.org](http://www.gentoo.org)) as well. I've found my gentoo install to be  
> > \> quite capable as a ruby development platform.
> > 
> > you are the second person to mention gentoo this week - i'll check it out.
> > 
> > cheers.
> > 
> > # -a --
> > 
> > # \> EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov \> PHONE :: 303.497.6469 \> When you do something, you should burn yourself completely, like a good \> bonfire, leaving no trace of yourself. --Shunryu Suzuki
> 
> --  
> Tobi

---

<div class="post-metadata">

**Author:** ![Jason\_Sweat](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@Jason\_Sweat](https://rubytalk.org/u/Jason_Sweat)\
**Post date:** [4 November 2004 17:25 UTC](https://rubytalk.org/t/rails-gem-install-rails-is-bombing/14584/8 "2004-11-04T17:25:48Z")

</div>

I dearly love Gentoo as a distro, but I did have one issue with the  
ebuild scripts for ruby. I had to manually add the  
--enable-install-doc option to the default portage ebuild script for  
ruby-1.8.2\_pre2 in order to get ri to work correctly. I suggested to  
the maintainer of the portage script to add a "doc" USE flag to  
control this.

Did anyone else have the same issue I did? Is there a more clever way  
around this?

Thanks,

Regards,

Jason

> **···**
>
> On Fri, 5 Nov 2004 02:12:57 +0900, Tobias Luetke \<tobias.luetke@gmail.com\> wrote:
> 
> > Consider me the thrid, gentoo would be the right choice.
> 
> --  
> [http://blog.casey-sweat.us/](http://blog.casey-sweat.us/)

---

<div class="post-metadata">

**Author:** ![Jamis\_Buck4](https://avatars.discourse-cdn.com/v4/letter/j/54ee81/32.png) [@Jamis\_Buck4](https://rubytalk.org/u/Jamis_Buck4)\
**Post date:** [4 November 2004 17:39 UTC](https://rubytalk.org/t/rails-gem-install-rails-is-bombing/14584/9 "2004-11-04T17:39:49Z")

</div>

Jason Sweat wrote:

> > Consider me the thrid, gentoo would be the right choice.
> 
> I dearly love Gentoo as a distro, but I did have one issue with the  
> ebuild scripts for ruby. I had to manually add the --enable-install-doc option to the default portage ebuild script for  
> ruby-1.8.2\_pre2 in order to get ri to work correctly. I suggested to  
> the maintainer of the portage script to add a "doc" USE flag to  
> control this.
> 
> Did anyone else have the same issue I did? Is there a more clever way  
> around this?
> 
> Thanks,
> 
> Regards,
> 
> Jason

Jason,

It looks like this works now--I have the doc USE flag set, and it went and built all the ri stuff (and I mean ALL the ri stuff).

However...don't know if this is a gentoo problem or a Jamis problem, but ri is now broken for me. If I do (for example) "ri Array", I only get a handful of methods shown to me (abbrev, is\_complex\_yaml?, pretty\_print, pretty\_print\_cycle, quote, to\_yaml, to\_yaml\_type). Anyone else seen this? Is there a way to fix this so I can use ri again? Please?

- Jamis

> **···**
>
> > On Fri, 5 Nov 2004 02:12:57 +0900, Tobias Luetke \> \<tobias.luetke@gmail.com\> wrote:
> 
> --  
> Jamis Buck  
> jgb3@email.byu.edu  
> [http://www.jamisbuck.org/jamis](http://www.jamisbuck.org/jamis)

---

<div class="post-metadata">

**Author:** ![Jason\_Sweat](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@Jason\_Sweat](https://rubytalk.org/u/Jason_Sweat)\
**Post date:** [4 November 2004 18:01 UTC](https://rubytalk.org/t/rails-gem-install-rails-is-bombing/14584/10 "2004-11-04T18:01:02Z")

</div>

Here is what my "ri Array" command returns, is that more or less than  
you expected?:

----------------------------------------------------------- Class: Array  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Arrays are ordered, integer-indexed collections of any object.  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Array indexing starts at 0, as in C or Java. A negative index is  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;assumed to be relative to the end of the array---that is, an index  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;of -1 indicates the last element of the array, -2 is the next to  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;last element in the array, and so on.

> **···**
>
> On Fri, 5 Nov 2004 02:39:49 +0900, Jamis Buck \<jgb3@email.byu.edu\> wrote:
> 
> > Jason,
> > 
> > It looks like this works now--I have the doc USE flag set, and it went  
> > and built all the ri stuff (and I mean ALL the ri stuff).
> > 
> > However...don't know if this is a gentoo problem or a Jamis problem, but  
> > ri is now broken for me. If I do (for example) "ri Array", I only get a  
> > handful of methods shown to me (abbrev, is\_complex\_yaml?, pretty\_print,  
> > pretty\_print\_cycle, quote, to\_yaml, to\_yaml\_type). Anyone else seen  
> > this? Is there a way to fix this so I can use ri again? Please?
> 
> ------------------------------------------------------------------------
> 
> Includes:  
> ---------  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enumerable(all?, any?, collect, detect, each\_with\_index, entries,  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;find, find\_all, grep, include?, inject, map, max, member?, min,  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;partition, reject, select, sort, sort\_by, to\_a, to\_set, zip)
> 
> Class methods:  
> --------------  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;, new
> 
> Instance methods:  
> -----------------  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&, \*, +, -, \<\<, \<=\>, ==, , =, abbrev, assoc, at, clear,  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;collect, collect!, compact, compact!, concat, delete, delete\_at,  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;delete\_if, each, each\_index, empty?, eql?, fetch, fill, first,  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;flatten, flatten!, frozen?, hash, include?, index, indexes,  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;indices, initialize\_copy, insert, inspect, join, last, length, map,  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;map!, nitems, pack, pop, push, rassoc, reject, reject!, replace,  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;reverse, reverse!, reverse\_each, rindex, select, shift, size,  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;slice, slice!, sort, sort!, to\_a, to\_ary, to\_s, transpose, uniq,  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;uniq!, unshift, values\_at, zip, |
> 
> Regards,  
> Jason  
> --  
> [http://blog.casey-sweat.us/](http://blog.casey-sweat.us/)

---

<div class="post-metadata">

**Author:** ![Jamis\_Buck4](https://avatars.discourse-cdn.com/v4/letter/j/54ee81/32.png) [@Jamis\_Buck4](https://rubytalk.org/u/Jamis_Buck4)\
**Post date:** [4 November 2004 18:05 UTC](https://rubytalk.org/t/rails-gem-install-rails-is-bombing/14584/11 "2004-11-04T18:05:36Z")

</div>

Jason Sweat wrote:

> **···**
>
> > On Fri, 5 Nov 2004 02:39:49 +0900, Jamis Buck \<jgb3@email.byu.edu\> wrote:
> > 
> > > Jason,
> > > 
> > > It looks like this works now--I have the doc USE flag set, and it went  
> > > and built all the ri stuff (and I mean ALL the ri stuff).
> > > 
> > > However...don't know if this is a gentoo problem or a Jamis problem, but  
> > > ri is now broken for me. If I do (for example) "ri Array", I only get a  
> > > handful of methods shown to me (abbrev, is\_complex\_yaml?, pretty\_print,  
> > > pretty\_print\_cycle, quote, to\_yaml, to\_yaml\_type). Anyone else seen  
> > > this? Is there a way to fix this so I can use ri again? Please?
> > 
> > Here is what my "ri Array" command returns, is that more or less than  
> > you expected?:
> 
> [snip]
> 
> That is the minimum that I expected. (It's what ri used to return until I recompiled ruby with the doc USE flag enabled.)
> 
> Here's the complete output from "ri18 Array" that I'm seeing:
> 
> ----------------------------------------------------------- Class: Array  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sequences: Array#to\_yaml
> 
> ------------------------------------------------------------------------
> 
> Instance methods:  
> -----------------  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;abbrev, is\_complex\_yaml?, pretty\_print, pretty\_print\_cycle, quote,  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;to\_yaml, to\_yaml\_type
> 
> And, for Object:
> 
> ---------------------------------------------------------- Class: Object  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(no description...)  
> ------------------------------------------------------------------------
> 
> Includes:  
> ---------  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PP::ObjectMixin(pretty\_print, pretty\_print\_cycle,  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pretty\_print\_inspect, pretty\_print\_instance\_variables)
> 
> Instance methods:  
> -----------------  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;is\_complex\_yaml?, to\_yaml, to\_yaml\_properties, to\_yaml\_type
> 
> I have no idea what is going on. Has anyone else seen this?
> 
> - Jamis
> 
> --  
> Jamis Buck  
> jgb3@email.byu.edu  
> [http://www.jamisbuck.org/jamis](http://www.jamisbuck.org/jamis)
