Forum: Ruby on Rails rake doc:rails fails

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.
Ad7805c9fcc1f13efc6ed11251a6c4d2?d=identicon&s=25 Alex Young (Guest)
on 2006-05-06 10:30
(Received via mailing list)
Hi there,

Running doc:rails and doc:rerails on a fresh rails directory after
running 'rake freeze_gems' fail with the following error:

 > Don't know how to build task 'vendor/rails/activesupport/README'

Should it work?  That file doesn't seem to exist.

If that's not the sequence for generating the api documentation, what
should it be?
2b404bb55d9b5dc78841795c4b731771?d=identicon&s=25 Damien Timewell (idlefingers)
on 2006-05-06 12:51
I'm a noob, so don't take my answer as final, but I use 'rake appdoc'
successfully.
Ad7805c9fcc1f13efc6ed11251a6c4d2?d=identicon&s=25 Alex Young (Guest)
on 2006-05-06 13:07
(Received via mailing list)
Damien Timewell wrote:
> I'm a noob, so don't take my answer as final, but I use 'rake appdoc'
> successfully.
>
That generates the documentation for a given application.  I want the
API docs, as presented at http://api.rubyonrails.org.  rake -T lists
rake doc:rails and rake doc:rerails as options, but neither of them
works - at least, not the way I'm expecting, which may well be wrong.

This is rails 1.1.2 on Ruby 1.8.4.
5d06917e13b29bcff1c1609492c06873?d=identicon&s=25 Dave Thomas (Guest)
on 2006-05-06 15:41
(Received via mailing list)
_______________________________________________
Rails mailing list
Rails@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails
Ad7805c9fcc1f13efc6ed11251a6c4d2?d=identicon&s=25 Alex Young (Guest)
on 2006-05-07 10:17
(Received via mailing list)
Dave Thomas wrote:
> I mentioned this to the team when I was writing about generating
> documentation for the book, and the next release will include the README
> in the Gem. In the meantime, creating a dummy file allows the
> documentation to proceed.

Excellent.  Thanks for that.
This topic is locked and can not be replied to.