re: rake appdoc
unrecognized option `–line-numbers --inline-source’
I was getting the same.
Rake appdoc calls the ruby documentation module rdoc.
So i decided to try bypassing rake appdoc.
rdoc -sn in my ruby on rails app directory, it produced the goods in
hope this helps