How do I generate RDOC for (all of) Rails?

James A. Rosen picture James A. Rosen · Jul 29, 2009 · Viewed 16.6k times · Source

I can do

sudo gem rdoc activerecord --no-ri

and

sudo gem rdoc actionpack --no-ri

both of which give me good docs.

But

sudo gem rdoc rails --no-ri

gives me pretty much nothing, as the Rails gem itself is really just a holder for the others. How can I generate the equivalent of http://api.rubyonrails.org/?

Answer

Tim Hoolihan picture Tim Hoolihan · Mar 25, 2011
sudo gem rdoc --all --overwrite