Changed gemspec to work with Rails 4