Ruby RPM Missing ri doc

Aaron Konstam akonstam at sbcglobal.net
Thu Jun 15 14:31:12 UTC 2006


On Thu, 2006-06-15 at 20:23 +1000, Mark Sargent wrote:
> Hi All,
> 
> I installed Ruby via yum,
> 
>      sudo yum install ruby
> 
>  
> and got this when quizzing ri,
> 
>     $ ri methods
>     No ri documentation found in:
> 
>     Was rdoc run to create documentation?
> 
> 
>     Installing Documentation
>     ------------------------
>     'ri' uses a database of documentation built by the RDoc utility.
> 
>     So, how do you install this documentation on your system? It depends on
>     how you installed Ruby.
> 
>     _If you installed Ruby from source files_ (that is, if it some point you
>     typed 'make' during the process :), you can install the
>     RDocdocumentation yourself. Just go back to the place where you have
>     your
>     Ruby source and type
> 
>      make install-doc
> 
>     You'll probably need to do this as a superuser, as the documentation is
>     installed in the Ruby target tree (normally somewhere under
>     +/usr/local+.
> 
>     _If you installed Ruby from a binary distribution_ (perhaps using a
>     one-click installer, or using some other packaging system), then the
>     team that produced the package probably forgot to package the
>     documentation as well. Contact them, and see if they can add it to the
>     next release.
> 
> 
> 
> doing the following,
> 
>     sudo yum install | grep ruby*
> 
>     $ sudo yum list | grep ruby*
>     Password:
>     grub.i386                                0.97-5    installed
>     ruby.i386                                1.8.4-3.2    installed
>     ruby-libs.i386                           1.8.4-3.2    installed
>     eruby.i386                               1.0.5-5.2.1    core
>     eruby-devel.i386                         1.0.5-5.2.1    core
>     eruby-libs.i386                          1.0.5-5.2.1    core
>     jruby.noarch                             0.7.0-4jpp    jpackage-generic
>     jruby-javadoc.noarch                     0.7.0-4jpp    jpackage-generic
>     perl-HTML-Scrubber.noarch                0.08-3.fc5    extras
>     ruby.i386                                1.8.4-5.fc5    updates
>     ruby-clearsilver.i386                    0.10.3-3.fc5    extras
>     ruby-debuginfo.i386                      1.8.4-5.fc5    updates
>     ruby-devel.i386                          1.8.4-5.fc5    updates
>     ruby-docs.i386                           1.8.4-5.fc5    updates
>     ruby-irb.i386                            1.8.4-5.fc5    updates
>     ruby-libs.i386                           1.8.4-5.fc5    updates
>     ruby-mode.i386                           1.8.4-5.fc5    updates
>     ruby-mysql.i386                          2.7-8.fc5    extras
>     ruby-rdoc.i386                           1.8.4-5.fc5    updates
>     ruby-ri.i386                             1.8.4-5.fc5    updates
>     ruby-tcltk.i386                          1.8.4-5.fc5    updates
>     scrub.i386                               1.7-1.fc5    extras
>     subversion-ruby.i386                     1.3.2-2.1    updates
> 
> 
> 
> 
> shows that there is a ruby-docs rpm. I'm assuming that that is what I 
> need. I wish to ask, is this an oversight of the rpm maintainer or 
> intended, perhaps? Makes ruby less productive if so, don't you think? I 
> also rqn rdoc, but no change in error. Cheers.
> 
> Mark Sargent.
> 
I don't know if this is relevant but the latest (I suppose July) issue
of Linux Journal is largely on Ruby.
-- 
Aaron Konstam <akonstam at sbcglobal.net>




More information about the fedora-list mailing list