Fix build

This fixes the build error on Ruby 1.8.7 and 1.9.2, and the failing scenario with Rails `4-1-stable` branch.

https://travis-ci.org/rspec/rspec-rails/builds/45198653