Updated the railties dependency to be compatible with Rails 4