Update gemspec to support rails 4.