Update gem spec to support Rails 4