Update gemspec to allow use with Rails 4.

Related to previous closed ticket.