From: Jos Backus Date: 2004-04-22T13:26:13+09:00 Subject: Re: how to get ri/rdoc working for 1.8.1 on Windows? On Thu, Apr 22, 2004 at 01:03:36PM +0900, Curt Hibbs wrote: > A lot of this seems somewhat muddy to me as well. In my case, the thing I was missing was that the Windows installer doesn't include the Ruby source and as a result running rdoc won't have the desired effect. D'oh! > Here's what I know: > > 1) Our process for building the ruby installer for windows *does* run rdoc > to create the ri database. Unfortunately, it turns out those files didn't > get copied into the installer. I zipped up these files so you can download > them here: > > http://curthibbs.us/share.zip > > Unzip this into your ruby install dir (you should then have a "share" > subdirectory in your ruby install dir). Nice. > 2) rdoc.bat in the bin directory has 4 bad paths in them (all near the top > of the file). You don't need to delete his batch file, just change the paths > to your ruby install dir ("c:\ruby" by default). > > 3) "rdoc" and "ri" in the bin directory are missing their ".rb" > extensions -- simply rename them. Okay. 2) and 3) I found, fixed and reported earlier on this list, as did others. Next time I'll use the RubyForge bugreporting system. > When I do these three things, I can run rdoc and ri without any problems. > Let me know if this works for you. Will do tomorrow at work. Thanks Curt! > Curt -- Jos Backus _/ _/_/_/ Sunnyvale, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ jos at catnook.com _/_/ _/_/_/ require 'std/disclaimer'