Red Hat Bugzilla – Bug 854418
rubygem-rdoc doesn't provide Ruby documentation
Last modified: 2012-09-18 22:58:31 EDT
On a fresh F17 installation, rubygem-rdoc-3.12.3.fc17 doesn't provide standard ruby documentation :
$ ri String
Nothing known about String
(same thing whatever is given to ri..)
Expected results should be :
= String < Object
Comparable (from ruby core)
As it is common for many rubygems, the documentation is split into the -doc subpackage, i.e. # yum install rubygem-rdoc-doc should solve your issue.
I don't speak about the rubygem-rdoc documentation but of the documentation of ruby itself...
I've found that removing the whole ruby stuff and reinstalling with yum install rubygem-rdoc.x86_64 "solves" the problem. As the .x86_64 (3.9.4-15.fc17) package does contains the documentation.
The rubygem-rdoc.noarch is newer (3.12-3.fc17) and miss the ruby documentation...
ruby-220.127.116.11-17.fc18,rubygem-rdoc-3.12-5.fc18 has been submitted as an update for Fedora 18.
ruby-18.104.22.168-16.fc17,rubygem-rdoc-3.12-4.fc17 has been submitted as an update for Fedora 17.
Actually you were right. I split the Ruby's documentation out of the rubygem-rdoc into its own -doc subpackage, so the updates to rubygem-rdoc will not remove the Ruby's documentation. There was also bug in rubygem-rdoc (wrong documentation search patch) and I fixed it as well.
Package ruby-22.214.171.124-16.fc17, rubygem-rdoc-3.12-4.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ruby-126.96.36.199-16.fc17 rubygem-rdoc-3.12-4.fc17'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
I've updated to the two package mentionned in the previous comment but my problem is still there :
$ ri String
Nothing know about String
Well... Sorry. Installing ruby-doc fixes the problem.
All is fine, now.
ruby-188.8.131.52-17.fc18, rubygem-rdoc-3.12-5.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
ruby-184.108.40.206-16.fc17, rubygem-rdoc-3.12-4.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.