Bug 191714 - Port: lang/ruby19 does not install ri documentation for ri command line tool
Summary: Port: lang/ruby19 does not install ri documentation for ri command line tool
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: Normal Affects Many People
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-07 17:50 UTC by Robert Cina
Modified: 2014-08-30 21:10 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Cina 2014-07-07 17:50:33 UTC
Typing a query with the ri command line tool does not produce the relevant ruby documentation for the ruby core classes. 

Example Command: 
$ ri Array 
Expected Result:
ri should output the methods relevant to the ruby core Array class

Actual Result:
ri does not produce the output the methods relevant to the Array class

Workaround to install ri documentation:

One can build and install the ri documentation site wide by doing the following:
# tar jxvf  /usr/ports/distfiles/ruby-1.9.3-p484.tar.bz2
# rdoc -R ruby-1.9.3-p484/

I haven't checked to see if the ruby20, ruby21 ports have the same issue but I suspect they also have the same problem.  Is it possible for the port maintainer to get the port to build the ri documentation?

Thanks

System Info:
FreeBSD polyfree.my.domain 10.0-STABLE FreeBSD 10.0-STABLE #8 r267834: Tue Jun 24 20:14:33 EDT 2014     root@polyfree.my.domain:/usr/obj/usr/src/sys/GENERIC  amd64
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2014-07-08 01:33:22 UTC
Over to maintainers.
Comment 2 Steve Wills freebsd_committer freebsd_triage 2014-08-03 04:21:49 UTC
Hi,

Could you please take a look at the latest patch for bug 189646 and see if it fixes the issue for you?

Thanks,
Steve
Comment 3 Robert Cina 2014-08-03 13:00:47 UTC
Looked at the patch from bug 189646 and applied it to the ruby19 port.  I installed ruby19 on my machine and it installed properly and it indeed built the ri documentation that was missing.
Hope that helps. 

Thanks
Comment 4 Steve Wills freebsd_committer freebsd_triage 2014-08-30 21:10:32 UTC
Should be fixed by r366678. Let us know if not.