Update gem spec for Rails 4