Change to Ruby 2.0.0p247 and Rails 4.0.0