update gem spec to work with rails 4