Bug 854418

Summary: rubygem-rdoc doesn't provide Ruby documentation
Product: [Fedora] Fedora Reporter: Eric Jacoboni <eric.jacoboni>
Component: rubygem-rdocAssignee: Mo Morsi <mmorsi>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: mmorsi, vondruch
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-19 02:58:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Eric Jacoboni 2012-09-04 23:53:14 UTC
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

------------------------------------------------------------------------------
= Includes:
Comparable (from ruby core)
(...)

Comment 1 Vít Ondruch 2012-09-05 06:05:38 UTC
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.

Comment 2 Eric Jacoboni 2012-09-05 11:03:29 UTC
I don't speak about the rubygem-rdoc documentation but of the documentation of ruby itself...

Comment 3 Eric Jacoboni 2012-09-05 15:49:22 UTC
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...

Comment 4 Fedora Update System 2012-09-06 13:12:01 UTC
ruby-1.9.3.194-17.fc18,rubygem-rdoc-3.12-5.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/ruby-1.9.3.194-17.fc18,rubygem-rdoc-3.12-5.fc18

Comment 5 Fedora Update System 2012-09-06 14:33:36 UTC
ruby-1.9.3.194-16.fc17,rubygem-rdoc-3.12-4.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/ruby-1.9.3.194-16.fc17,rubygem-rdoc-3.12-4.fc17

Comment 6 Vít Ondruch 2012-09-06 14:41:49 UTC
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.

Comment 7 Fedora Update System 2012-09-07 11:37:33 UTC
Package ruby-1.9.3.194-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-1.9.3.194-16.fc17 rubygem-rdoc-3.12-4.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-13492/ruby-1.9.3.194-16.fc17,rubygem-rdoc-3.12-4.fc17
then log in and leave karma (feedback).

Comment 8 Eric Jacoboni 2012-09-07 21:59:01 UTC
I've updated to the two package mentionned in the previous comment but my problem is still there :

$ ri String
Nothing know about String

Comment 9 Eric Jacoboni 2012-09-07 22:09:43 UTC
Well... Sorry. Installing ruby-doc fixes the problem.

All is fine, now.

Comment 10 Fedora Update System 2012-09-17 22:52:49 UTC
ruby-1.9.3.194-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.

Comment 11 Fedora Update System 2012-09-19 02:58:31 UTC
ruby-1.9.3.194-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.