Well, I follow the instruction but still doesn't work.
So I renamed things back to the original, rdoc work just fine.
Here some excerpt.
-------------------------------------------------------------------
C:\ruby\bin>ri Hash
File not found
C:\ruby\bin>ri blah
Nothing known about blah
C:\ruby\bin>type ri.bat
@echo off
"c:\ruby\bin\ruby.exe" "c:\ruby\bin\ri" %1 %2 %3 %4 %5 %6 %7 %8 %9
C:\ruby\bin>type rdoc.bat
@echo off
"c:\ruby\bin\ruby.exe" "c:\ruby\bin\rdoc" %1 %2 %3 %4 %5 %6 %7 %8 %9
-------------------------------------------------------------------
I'm using ruby181-13.exe on Windows Me.
Any other fix?
I finally able to track down the problem.
It seem when ri try to find a pager, ruby halt on
system("more < #{pager}").
This small patch will take care the problem, but still no pager
-------------------------------------------------------------------
--- ruby/lib/ruby/1.8/rdoc/ri/ri_display.rb.orig 2004-03-25 01:17:42.000000000 +0700
+++ ruby/lib/ruby/1.8/rdoc/ri/ri_display.rb 2004-06-15 19:11:52.000000000 +0700
@@ -222,7 +222,7 @@
STDOUT.reopen(@save_stdout)
@save_stdout = nil
paged = false
- for pager in [ ENV['PAGER'], "less", "more <", 'pager' ].compact.uniq
+ for pager in [ ENV['PAGER'], 'less', 'more', 'pager' ].compact.uniq
if system("#{pager} #{path}")
paged = true
break
-------------------------------------------------------------------
Any fix, Dave?
Wassallam,
-- Zakaria
(e-mail address removed) Yahoo!: z4k4ri4
http://zakaria.is-a-geek.org
http://pemula.linux.or.id