Forum: Ruby on Rails raking my brain to fix this

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
C1e5a9e9344b6d31b9df7303e6dc378a?d=identicon&s=25 Craig White (Guest)
on 2006-02-24 05:08
(Received via mailing list)
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-...

[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
C1e5a9e9344b6d31b9df7303e6dc378a?d=identicon&s=25 Craig White (Guest)
on 2006-02-24 06:45
(Received via mailing list)
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
Bb4bdf2b184027bc38d4fb529770cde5?d=identicon&s=25 Wes Gamble (Guest)
on 2006-03-06 17:46
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
This topic is locked and can not be replied to.