Update gem spec for rails 4.