upgrade ruby binary to 2.0.0-p247.

also add quick hack for rails-3.0.x.
stop to install rake to the root gem path. Ruby 2.0 bundles it.
Merge pull request #222 from axsh/ruby-2.0

Build & Run with Ruby 2.0.