I am ‘raking’ my brain to fix this problem - I have searched, googled,
looked through rake documentation, wiki.rubyonrails and I can’t fix…
This works
$ rake plugindoc
(in /home/craig/ruby-db/th-db)
rdoc -o doc/plugins/ez_where --title ‘Ez Where Plugin Documentation’ –
line-numbers --inline-source -T html
vendor/plugins/ez_where/lib/caboose/clause.rb
vendor/plugins/ez_where/lib/caboose/condition.rb
vendor/plugins/ez_where/lib/caboose/ez.rb
vendor/plugins/ez_where/lib/caboose/hash.rb
clause.rb: mmc..c........c..c..c...
condition.rb: mmc...........
ez.rb: mm.m..
hash.rb: c
Generating HTML…
Files: 4
Classes: 7
Modules: 7
Methods: 31
Elapsed: 2.840s
this doesn’t work
[craig@srv2 th-db]$ rake appdoc
(in /home/craig/ruby-db/th-db)
rm -r doc/app
unrecognized option `–line-numbers --inline-source’
For help on options, try ‘rdoc --help’
rake aborted!
exit
(See full trace by running task with --trace)’
nor this…
[craig@srv2 th-db]$ rake apidoc
(in /home/craig/ruby-db/th-db)
rake aborted!
Don’t know how to build task ‘vendor/rails/railties/CHANGELOG’
(See full trace by running task with --trace)
and I have posted the trace to the list twice but no one bit on it so I
hesitate to do it again…
http://wrath.rubyonrails.org/pipermail/rails/2006-February/020413.html
[craig@srv2 th-db]$ ls -l doc
total 24
drwxr-xr-x 3 craig craig 4096 Feb 23 20:55 plugins
drwxr-xr-x 4 craig craig 4096 Feb 19 20:59 rdoccd-bak
-rw-rw-r-- 1 craig craig 188 Jan 19 15:51 README_FOR_APP
where doc/rdoccd-bak is a folder that used to be app/rdoccd that I moved
just in case but is evidence that the rake appdoc actually worked
once…4 days ago.
Help
Craig