use sdoc gem for rails 3.2

I've tested this using rdoc 3.12.2 from Ruby 1.9.3 and sdoc gem version 0.3.20, and everything seems ok including the github links.

/cc @fxn and 4936fc3