Fix problem due to the difference of the implementation of Ruby 1.9.x and 2.0.0.

I think attempting to use spork-rails with rails4 but did not work in ruby 2.0.0.
I hope this pull request will help to support rails4.