update gemspec to work on rails 4