Changed gemspec to comply with Rails 4