How To View Documentation in doc/app


Noob question:

I’m currently working through the examples in Agile Development With
Rails. On page 182, the book shows you how to generate documentation
for your application using RDoc.

I’ve done that successfully, but the problem I’m having is that I
can’t seem to view the documentation.

Is there a command to run?

I’ve tried pointing a browser to
to no avail.

Any ideas?



The documentation is generated under doc/app in your rails project
when you run rake doc:app. As far as I know, the documentation isn’t
by script/server. You probably wouldn’t want it to be anyway, because
could also be served when you deploy and then anyone could view your
documentation and portions of your code whether you intended to release
information or not.

The easiest way to view the generated documentation is to hit file/open
your web browser and then open doc/app/index.html under your rails


One of the things that Arti ( does is to make
the RDoc-generated HTML files available via a separate server.

-r Rich M. [email protected] +1 650-873-7841

Technical editing and writing, programming, and web development

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