Updated gemspec to be compatible with rails 4