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
Having been raked over the coals...apparently the fix is a patch... http://dev.rubyonrails.org/ticket/3757 which fixed me - leaving this track on the mail list in case someone else follows my footsteps (makes me think that no one does the rake appdoc or rake apidoc commands on this list... Thanks Craig On Thu, 2006-02-23 at 21:07 -0700, Craig White wrote:> 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 > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails
Craig, I will attempt to use this - having the same problem. I was doing the "depot" demo and couldn''t generate the documentation so here I am. Not quite sure how to apply the patch though but I''m sure I will figure it out. Thanks, Wes Craig White wrote:> Having been raked over the coals...apparently the fix is a patch... > > http://dev.rubyonrails.org/ticket/3757 > > which fixed me - leaving this track on the mail list in case someone > else follows my footsteps (makes me think that no one does the rake > appdoc or rake apidoc commands on this list... > > Thanks > > Craig-- Posted via http://www.ruby-forum.com/.