Subject: pkg/28566: ri missing its database w/ ruby 1.8
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Martin S. Weber <Ephaeton@gmx.net>
List: pkgsrc-bugs
Date: 12/06/2004 19:27:00
>Number:         28566
>Category:       pkg
>Synopsis:       need to run rdoc on ruby 1.8.2 stdlib for ri
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 06 19:27:00 +0000 2004
>Originator:     Martin S. Weber
>Release:        NetBSD 2.99.10
>Organization:
	
>Environment:
	
	
System: NetBSD circe.entropie.net 2.99.10 NetBSD 2.99.10 (GENERIC.MP) #0: Sun Nov 14 18:31:32 CET 2004 root@circe.entropie.net:/usr/obj/sys/arch/i386/compile/GENERIC.MP i386
Architecture: i386
Machine: i386
>Description:
	This is an asked for reminder for Takahiro Kambe to adjust 
	the post-intall target of the ruby Makefile for ruby_ver 
	1.8 so that rdoc is run in order to generate the database 
	ri is working on.

	Without this, ppl will see errors like the following:
	ri 'Array.[]'
	No ri documentation found in:
		/usr/pkg/share/ri/1.8/system
		/usr/pkg/share/ri/1.8/site
		/home/phaeton/.rdoc

(quote Takahiro:
> I'll ask to the Ruby people.
Here is answer:
   
     rdoc was imported in Ruby-1.8.1 first and it was late stage in
     release of the 1.8.1.  So, there are problem to generate a
     database for ri.  Some of source code dosen't have proper RDOC
     documentation and generated ri database is something poor.

     Next release, Ruby 1.8.2 improves rdoc much better and the
     database for ri would be created completely.

Sadly, Ruby 1.8.2's release is delayed and  preview3 stage yet.
I will add ri database handling to ruby package when Ruby 1.8.2 is
released (and pkgsrc freeze is finished).

)

	
>How-To-Repeat:
	install ruby 1.8(.1) and try to use ri.
	
>Fix:
	wait for 1.8.2 :)
	

>Unformatted: