Rake doc:app uses deprecated options (invalid options: --line-numbers, --inline-source)

I’m using Rails 3.0.7 / Ruby 1.9.2 and I’m wondering what the
recommended way to generate app docs is.

Running “rake doc:app” generates good documentation but “click to
toggle source” doesn’t work since rdoc 2.5.8 doesn’t support the '–
line-numbers, --inline-source" options that the rake task provides.
Not a major problem but surely there is a solution. right?

Tony