Creating ri docs on windows

I just bought the new Pickaxe II book and am trying to follow along.
But when I type

ri enable

I get the following error:

No ri documentation found in:
/usr/share/ri/1.8/system
/usr/share/ri/1.8/site
/c/eli/.rdoc
Was rdoc run to create documentation?

I'm currently using the cygwin installation (ruby 1.8.1 (2003-12-25)
[i386-cygwin]). (I tried using the One Click windows installation, but
that didn't have OpenSSL support.) Is there an easy way to run rdoc to
create all the documentation of the standard installed libraries? I
tried "rdoc --ri-site", but received the following error:

Generating RI...
/usr/lib/ruby/1.8/rdoc/markup/simple_markup/to_flow.rb:92:in
`accept_rule': unde
fined local variable or method `size' for #<SM::ToFlow:0x152a85c0>
(NameError)
from
/usr/lib/ruby/1.8/rdoc/markup/simple_markup/fragments.rb:170:in
`accept'
from
/usr/lib/ruby/1.8/rdoc/markup/simple_markup/fragments.rb:165:in `each'
from
/usr/lib/ruby/1.8/rdoc/markup/simple_markup/fragments.rb:165:in
`accept'
from /usr/lib/ruby/1.8/rdoc/markup/simple_markup.rb:259:in
`convert'
from /usr/lib/ruby/1.8/rdoc/generators/ri_generator.rb:224:in
`markup'
from /usr/lib/ruby/1.8/rdoc/generators/ri_generator.rb:107:in
`generate_class_info'
from /usr/lib/ruby/1.8/rdoc/generators/ri_generator.rb:90:in
`process_class'
from /usr/lib/ruby/1.8/rdoc/generators/ri_generator.rb:85:in
`generate'
from /usr/lib/ruby/1.8/rdoc/generators/ri_generator.rb:84:in
`each'
from /usr/lib/ruby/1.8/rdoc/generators/ri_generator.rb:84:in
`generate'
from /usr/lib/ruby/1.8/rdoc/rdoc.rb:210:in `document'
from /usr/bin/rdoc:63

Thanks,
Eli

Eli Tucker ha scritto:

I'm currently using the cygwin installation (ruby 1.8.1 (2003-12-25)
[i386-cygwin]). (I tried using the One Click windows installation, but
that didn't have OpenSSL support.) Is there an easy way to run rdoc to
create all the documentation of the standard installed libraries? I
tried "rdoc --ri-site", but received the following error:

<snip>
ri is supposed to be run on the source.
Maybe you can find useful the data files for ruby 1.8.1 or cvs HEAD found here:

Thanks, Gabriele. Downloading the zip of the ri documents from
http://www.ruby-doc.org/downloads/ worked great.

- Eli