Generating rdocs

How does one go about generating rdocs? Whenever I press generate rdocs
I get the following error:

Error received generating RDoc. Received ext value: ‘1’

Reason:
Unable to execute rdoc command: ‘[F:\devtools\ruby187\bin\rdoc.bat, -r,
F:\Programming\655\655]’
Last line: "

I’ve tried running rdoc from the command line and it gives me this error
message:

Directory C:/Users/grant/.rdoc already exists, bit it looks like it
isn’t an RDoc directory. Beacause RDoc doesn’t want to risk destroying
any of your existing files, you’ll need to specify a different output
directory name (using the --op option.

I used the --op option and instead of spitting out a nicely formated
HTML document like Javadoc does it gave me a bunch of garbage I didn’t
understand. (I have no idea what a .yaml file is.) All I’m trying to get
this infernal IDE do is take my documented code and turn it into an
.html file. Any ideas?

I used the --op option and instead of spitting out a nicely formated
HTML document like Javadoc does it gave me a bunch of garbage I didn’t
understand. (I have no idea what a .yaml file is.) All I’m trying to get
this infernal IDE do is take my documented code and turn it into an
.html file. Any ideas?

–op --rdoc perhaps?