gem rdoc rails does not generate documentation

Freeze your rails gem, then generate the document. Like this:

rails sample_project
cd sample_project
rake rails:freeze:gems
rake doc:rails
rake rails:unfreeze

I wrote it up here:
http://www.nullislove.com/2007/05/29/rails-documentation/

And that post includes how to generate rdocs for Ruby too.

HTH,
Kevin Skoglund

I was having a lot of trouble getting gem to work properly. See
details at
http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/78421630796c7751/a4f0f59e9eb3b559#a4f0f59e9eb3b559

I solved it by uninstalling and reinstalling gem. Now gem_server and
rake:freeze:gems work fine.