# Install problem:: rdoc/ruport from gem

**URL:** <https://www.ruby-forum.com/t/install-problem-rdoc-ruport-from-gem/54090>\
**Category:** Ruby\
**Created:** [February 22, 2006, 8:39pm UTC](https://www.ruby-forum.com/t/install-problem-rdoc-ruport-from-gem/54090 "2006-02-22T20:39:52Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jansenh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/6f9a4e/32.png) [@jansenh](https://www.ruby-forum.com/u/jansenh)\
**Post date:** [February 22, 2006, 8:39pm UTC](https://www.ruby-forum.com/t/install-problem-rdoc-ruport-from-gem/54090/1 "2006-02-22T20:39:52Z")

</div>

Hi group. More newbie stuff…

I have the above mentioned problem - ruport fails while installing from  
gem… ruby(1.8.3/ubuntu) says “no such file to load – rdoc/rdoc”. I  
have tried to gem rdoc as well, --remote… Then gem says: “could not  
find rdoc in repository”.

rdoc appears to be the problem, not ruport itself

So far I have :

- apt-get installed ruby-1.8.3
- manually installed rubygems-0.8.11.tgz
- gem install rubygems-update

and my gem is (gem -v) 0.8.11

HELP!

* * *

Be kind, I am just a poor VisualStudio/C# guy, used to have everything  
working by clicking ‘next’ - ‘next’ -‘next’, and then adding a  
25-letter license code. This is my first attempt with gems. Its also my  
first time with ruby on Linux (ubuntu). I have a little experience with  
ruby-1.8.2 on winXP and osX only… but only out-of-the-box stuff.  
Never used or installed anything else than the default package. Gems  
seems like a very neat approach, appart from me not being able to  
install my particular package this particular time 😉

regards, Henning  
Norway

---

<div class="post-metadata">

**Author:** ![jansenh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/6f9a4e/32.png) [@jansenh](https://www.ruby-forum.com/u/jansenh)\
**Post date:** [February 22, 2006, 8:52pm UTC](https://www.ruby-forum.com/t/install-problem-rdoc-ruport-from-gem/54090/2 "2006-02-22T20:52:08Z")

</div>

On Feb 22, 2006, at 2:38 PM, jansenh wrote:

> ## rdoc appears to be the problem, not ruport itself
> 
> regards, Henning  
> Norway

I think you want to do something like  
apt-get install ruby18-doc, I’m not sure I’m not on Debian anymore.  
Alternatively, just install ruby from source.

---

<div class="post-metadata">

**Author:** ![jansenh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/6f9a4e/32.png) [@jansenh](https://www.ruby-forum.com/u/jansenh)\
**Post date:** [February 22, 2006, 9:13pm UTC](https://www.ruby-forum.com/t/install-problem-rdoc-ruport-from-gem/54090/3 "2006-02-22T21:13:39Z")

</div>

On 2/22/06, Logan C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > not  
> > find rdoc in repository".

It’s just sudo gem install rdoc.

Feel free to direct further questions to  
[http://lists.stonecode.org/listinfo.cgi/ruport-stonecode.org](http://lists.stonecode.org/listinfo.cgi/ruport-stonecode.org)

---

<div class="post-metadata">

**Author:** ![jansenh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/6f9a4e/32.png) [@jansenh](https://www.ruby-forum.com/u/jansenh)\
**Post date:** [February 22, 2006, 9:34pm UTC](https://www.ruby-forum.com/t/install-problem-rdoc-ruport-from-gem/54090/4 "2006-02-22T21:34:53Z")

</div>

On 2/22/06, jansenh [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi group. More newbie stuff…
> 
> I have the above mentioned problem - ruport fails while installing from  
> gem… ruby(1.8.3/ubuntu) says “no such file to load – rdoc/rdoc”. I  
> have tried to gem rdoc as well, --remote… Then gem says: “could not  
> find rdoc in repository”.

For those using ubuntu, I’ve strung together a mess of commands  
that’ll get Ruport running in one shot with DBI and a dbd for mysql:

sudo apt-get update &&  
sudo apt-get install ruby rdoc libdbi-ruby libdbd-mysql-ruby &&  
wget [http://rubyforge.org/frs/download.php/5207/rubygems-0.8.11.tgz](http://rubyforge.org/frs/download.php/5207/rubygems-0.8.11.tgz) &&  
tar -xzvf rubygems-0.8.11.tgz &&  
cd rubygems-0.8.11 && sudo ruby setup.rb &&  
sudo gem install ruport

---

<div class="post-metadata">

**Author:** ![jansenh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/6f9a4e/32.png) [@jansenh](https://www.ruby-forum.com/u/jansenh)\
**Post date:** [February 22, 2006, 10:29pm UTC](https://www.ruby-forum.com/t/install-problem-rdoc-ruport-from-gem/54090/5 "2006-02-22T22:29:42Z")

</div>

“jansenh” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) writes:

> - apt-get installed ruby-1.8.3
> - manually installed rubygems-0.8.11.tgz
> - gem install rubygems-update
> 
> and my gem is (gem -v) 0.8.11
> 
> HELP!

Unfortunately, Debian’s distribution of ruby kinda sucks. What  
they’ve done is taken the ruby source – that thing usually accepted  
as “standard ruby” – and chopped it up into nearly 30 packages.  
You’ve installed only one: ruby. There’s been much discussion/cursing  
about this here before. I recommend installing all these packages to  
save you further grief down the line.

To find them, install the grep-dctrl package and do:

grep-dctrl -s Binary ruby-defaults /var/lib/apt/lists/\*Sources

(Note that for this to work, you’ll need a deb-src line in  
/etc/apt/sources.list . e.g.:

deb-src [Index of /debian](http://http.us.debian.org/debian) unstable main contrib non-free

Don’t forget to run `apt-get update’ if you add this line.)

---

<div class="post-metadata">

**Author:** ![jansenh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/6f9a4e/32.png) [@jansenh](https://www.ruby-forum.com/u/jansenh)\
**Post date:** [February 24, 2006, 6:46pm UTC](https://www.ruby-forum.com/t/install-problem-rdoc-ruport-from-gem/54090/6 "2006-02-24T18:46:22Z")

</div>

On 2/22/06, Gregory B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

---

<div class="post-metadata">

**Author:** ![jansenh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/6f9a4e/32.png) [@jansenh](https://www.ruby-forum.com/u/jansenh)\
**Post date:** [February 24, 2006, 6:46pm UTC](https://www.ruby-forum.com/t/install-problem-rdoc-ruport-from-gem/54090/7 "2006-02-24T18:46:22Z")

</div>

On 2/22/06, Gregory B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > > have tried to gem rdoc as well, --remote… Then gem says: “could  
> > > not  
> > > find rdoc in repository”.
> 
> It’s just sudo gem install rdoc.

whoops! sudo apt-get install rdoc
