Fix gem path for Rails 4.0 to run the tests