make gemspec compatible with rails 4