From: Michael Granger Date: 2012-02-19T01:51:48+09:00 Subject: Re: darkfish rdoc sees no rdoc On Feb 18, 2012, at 2:06 AM, Wybo Dekker wrote: > Hi, I have trouble with rdoc. I run ruby 1.9.2p290 and I installed > darkfish-rdoc-1.1.5.gem > When I run the gem's rdoc (it installs in /usr/local/bin) on a directory > that only contains this file test.rb: > > #!/usr/bin/ruby > =begin rdoc > == test - This is a test > === Description > I'm trying to generate documentation from this file. > =end > puts 'Hello World!' > > then I get a doc directory which does not contain any information from > between the =begin and =end. > There are two html files: index.html and table_of_contents.html. > I have attached the output as seen in my web browser. > What am I doing wrong? Darkfish is the default now for RDoc, and the gem is way out of date. Just uninstall the gem, make sure your RDoc is up to date, and you should be good to go. I'll update the Darkfish project page to avoid this kind of confusion. -- Michael Granger Rubymage, Architect, Believer The FaerieMUD Consortium