Change gemspec's dependency for Rails 4.