update gemspec to work on rails 4

Hi, this pull request allows the gem to be used on rails 4 apps.

Andrea