re: rake appdoc
giving
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.
I ran
rdoc -sn in my ruby on rails app directory, it produced the goods in
app/doc
hope this helps