[Rubygems-developers] Undocumented requirement for rdoc?

Austin Ziegler halostatue at gmail.com
Mon Jan 10 15:37:44 EST 2005

On Mon, 10 Jan 2005 11:43:41 -0800, Ned Konz <ned at squeakland.org> wrote:
> I'm new to the list. I've not been too active with Ruby for the
> last couple years (I've been Squeaking instead), but just wanted
> to try out Rubygems and Pimki.
> I just downloaded rubygems 0.8.4, and had a problem using it:
> $ sudo gem install Pimki
> Attempting local installation of 'Pimki'
> Local gem file not found: Pimki*.gem
> Attempting remote installation of 'Pimki'
> Successfully installed Pimki, version 1.3.092
> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:26:in
>     `require': No such file to load -- rdoc/rdoc (LoadError)
> from /usr/local/lib/site_ruby/1.8/rubygems/doc_manager.rb:42:in
>   `generate_rdoc'
> from /usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:175:in
>   `execute'
> from /usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:174:in
>   `each'
> from /usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:174:in
>   `execute'
> from /usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:129:in
>   `each'
> from /usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:129:in
>   `execute'
> from /usr/local/lib/site_ruby/1.8/rubygems/command.rb:49:in
>   `invoke'
> from /usr/local/lib/site_ruby/1.8/rubygems/cmd_manager.rb:90:in
>   `process_args'
> from /usr/local/lib/site_ruby/1.8/rubygems/cmd_manager.rb:63:in
>   `run'
> from /usr/local/lib/site_ruby/1.8/rubygems/gem_runner.rb:9:in
>   `run'
> from /usr/bin/gem:11
> $ locate '*rdoc/rdoc*'

> I have a Debian Linux system, with Ruby 1.8.2 installed. In my
> case, I needed to install the 'rdoc1.8' package.

> Perhaps Rubygems should install rdoc if it needs it?

This is not a problem of Rubygems. This is a problem of idiotic
Debian package maintainers (although to be fair, I don't think that
Debian is the only one that's done this, they're just the most
frequent problem on this matter). RDoc (and ri) is part of the
standard Ruby 1.8 distribution, which means that Rubygems is not in
a position to install it -- it's simply supposed to be there. The
Debian maintainers have seen fit to keep it separate (as it was in
Ruby 1.6).

Debian users are advised to use the meta packages until the Debian
package maintainers get the message and either make this clearer or
make Debian/Ruby packages work right from the get go.

Austin Ziegler * halostatue at gmail.com
               * Alternate: austin at halostatue.ca

More information about the Rubygems-developers mailing list