Update rake file for rails 3.x

Caused ERROR: 'rake/rdoctask' is obsolete and no longer supported. Use 'rdoc/task' (available in RDoc 2.4.2+) instead.
Merge remote-tracking branch 'remotes/brianveltman/patch-1' into pr_27