rails / jquery-rails

A gem to automate using jQuery with Rails
MIT License
948 stars 406 forks source link

Not compatible with rails 4.1.8 #181

Closed randoum closed 9 years ago

randoum commented 9 years ago

Greetings

Gemfile:

gem 'rails', '4.1.8'
gem 'jquery-rails', '~> 4.0.0'
# Also tried: gem 'jquery-rails', github: 'rails/jquery-rails'
$ bundle update
Bundler could not find compatible versions for gem "railties":
  In Gemfile:
    rails (= 4.1.8) ruby depends on
      railties (= 4.1.8) ruby

    jquery-rails (>= 0) ruby depends on
      railties (4.2.0.beta1)

Thanks in advance for your advise

rafaelfranca commented 9 years ago

Yes. jquery-rails 4.0 is not compatible with 4.1.8. Make sure you are using the right version of jquery-rails project