Would love to solve 'rake doc:app' problem

I can build doc:plugins but not doc:app

$ rake doc:app --trace
(in /home/storage/users/craig/svn/th-db/branches/phase5)
** Invoke doc:app (first_time)
** Invoke doc/app/index.html (first_time)
rake aborted!
Don’t know how to build task ‘doc/README_FOR_APP’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1634:in []' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:516:ininvoke_prerequisites’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:insend’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:515:ininvoke_prerequisites’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:507:in
invoke_with_call_chain' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:insynchronize’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in
invoke_with_call_chain' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:518:ininvoke_prerequisites’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:insend’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:515:ininvoke_prerequisites’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:507:in
invoke_with_call_chain' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:insynchronize’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in
invoke_with_call_chain' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:494:ininvoke’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1931:in invoke_task' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:intop_level’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:intop_level’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in
standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:intop_level’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in run' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:instandard_exception_handling’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in run' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31 /usr/bin/rake:16:inload’
/usr/bin/rake:16

sh-3.2$ locate README_FOR_APP
/usr/lib/ruby/gems/1.8/gems/rails-1.2.6/doc/README_FOR_APP

This is the file but even moving it to /tmp doesn’t help…

How can I build doc:app ?

Craig

2008/4/16, Craig W. [email protected]:

I can build doc:plugins but not doc:app

$ rake doc:app --trace
(in /home/storage/users/craig/svn/th-db/branches/phase5)
** Invoke doc:app (first_time)
** Invoke doc/app/index.html (first_time)
rake aborted!
Don’t know how to build task ‘doc/README_FOR_APP’

This indicates that the file doc/README_FOR_APP is missing.
This must be in your projects’ directory, since rdoc uses it as
homepage for the application documentation.
I.e., you need a
/home/storage/users/craig/svn/th-db/branches/phase5/doc/README_FOR_APP
file in RDoc format. Normally the rails command creates
a stub for this file.

sh-3.2$ locate README_FOR_APP
/usr/lib/ruby/gems/1.8/gems/rails-1.2.6/doc/README_FOR_APP

This has nothing to do with doc:app for your project.

HTH,
Stefan

On Thu, 2008-04-17 at 12:53 +0200, Stefan L. wrote:

This has nothing to do with doc:app for your project.


gosh - that was easy…all I had to do was copy that file to my doc
folder

Thanks…it did help

Craig

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs