Update gemspec for rails 4 compatibility.