Forum: Ruby install problem:: rdoc/ruport from gem

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
D4b9d936fef975de6309690600d0840b?d=identicon&s=25 jansenh (Guest)
on 2006-02-22 20:39
(Received via mailing list)
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
E34b5cae57e0dd170114dba444e37852?d=identicon&s=25 Logan Capaldo (Guest)
on 2006-02-22 20:52
(Received via mailing list)
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.
31e038e4e9330f6c75ccfd1fca8010ee?d=identicon&s=25 Gregory Brown (Guest)
on 2006-02-22 21:13
(Received via mailing list)
On 2/22/06, Logan Capaldo <logancapaldo@gmail.com> 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
31e038e4e9330f6c75ccfd1fca8010ee?d=identicon&s=25 Gregory Brown (Guest)
on 2006-02-22 21:34
(Received via mailing list)
On 2/22/06, jansenh <henning.jansen@gmail.com> 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/rubygem... &&
tar -xzvf rubygems-0.8.11.tgz &&
cd rubygems-0.8.11 && sudo ruby setup.rb &&
sudo gem install ruport
851246810c70dbfcc1815c636b054562?d=identicon&s=25 George Ogata (Guest)
on 2006-02-22 22:29
(Received via mailing list)
"jansenh" <henning.jansen@gmail.com> 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 http://http.us.debian.org/debian unstable main contrib non-free

Don't forget to run `apt-get update' if you add this line.)
31e038e4e9330f6c75ccfd1fca8010ee?d=identicon&s=25 Gregory Brown (Guest)
on 2006-02-24 18:46
(Received via mailing list)
On 2/22/06, Gregory Brown <gregory.t.brown@gmail.com> 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
31e038e4e9330f6c75ccfd1fca8010ee?d=identicon&s=25 Gregory Brown (Guest)
on 2006-02-24 18:46
(Received via mailing list)
On 2/22/06, Gregory Brown <gregory.t.brown@gmail.com> wrote:
This topic is locked and can not be replied to.