Creating rdoc and ri

I was following the guide here
File: README on installing ri and
rdoc.

However I am unable to run ri.

This is what I did.

C:\Users\RenshawFamily>rdoc --main rdoc/rdoc.rb

this ended with

         gfortran_vs2003_hack.c:
                       body.f90: NoMethodError: undefined method

`each_inclu
des’ for #RDoc::TopLevel:0x1505258
parse_program_or_module at
C:/jruby-1.6.1/lib/ruby/1.8/rdoc/parsers/parse_f95.
rb:473
scan at
C:/jruby-1.6.1/lib/ruby/1.8/rdoc/parsers/parse_f95.
rb:350
parse_files at
C:/jruby-1.6.1/lib/ruby/1.8/rdoc/rdoc.rb:226
each at org/jruby/RubyArray.java:1602
parse_files at
C:/jruby-1.6.1/lib/ruby/1.8/rdoc/rdoc.rb:219
document at
C:/jruby-1.6.1/lib/ruby/1.8/rdoc/rdoc.rb:264
(root) at C:\jruby-1.6.1\bin\rdoc:63

So then when I went to use ri it errors.

C:\Users\RenshawFamily>ri array
No ri documentation found in:
file:C:/jruby-1.6.1/share/ri.jar!/ri/1.8/system

Was rdoc run to create documentation?

Errno::ENOENT: No such file or directory - C:\jruby-1.6.1\bin\ri:48:in
`(root)’
initialize at org/jruby/RubyFile.java:441
open at org/jruby/RubyIO.java:1117
usage_no_exit at
C:/jruby-1.6.1/lib/ruby/1.8/rdoc/usage.rb:100
usage at
C:/jruby-1.6.1/lib/ruby/1.8/rdoc/usage.rb:93
report_missing_documentation at
C:/jruby-1.6.1/lib/ruby/1.8/rdoc/ri/ri_driver.
rb:39
initialize at
C:/jruby-1.6.1/lib/ruby/1.8/rdoc/ri/ri_driver.
rb:25
(root) at C:\jruby-1.6.1\bin\ri:48

C:\Users\RenshawFamily>cd C:/jruby-1.6.1/share/ri.jar!/ri/1.8/system
The system cannot find the path specified.

So then i tried to create a share directory under jruby but that did

not
work either. Is there a standard way to get this too work. I am on
windows7.

c:\jruby-1.6.1>mkdir share

c:\jruby-1.6.1>cd share

c:\jruby-1.6.1\share>rdoc --main rdoc/rdoc.rb

No newer files.

Files: 0
Classes: 0
Modules: 0
Methods: 0
Elapsed: 0.018s

c:\jruby-1.6.1\share>ri array
No ri documentation found in:
file:C:/jruby-1.6.1/share/ri.jar!/ri/1.8/system

Was rdoc run to create documentation?

Thanks

Sayth