Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runtime dependency on activerecord (~> 5.0) prevents upgrade to Rails 5.1 #944

Open
keithpitty opened this issue Feb 26, 2019 · 1 comment

Comments

@keithpitty
Copy link

I'm gradually upgrading a Rails application that uses acts-as-taggable-on. When attempting to bundle update having set Rails to the latest version in the 5.1 path, bundler reports an incompatibility:

Bundler could not find compatible versions for gem "activerecord":
  In Gemfile:
    acts-as-taggable-on (~> 6.0.0) was resolved to 6.0.0, which depends on
      activerecord (~> 5.0)

    rails (~> 5.1.6.1) was resolved to 5.1.6.1, which depends on
      activerecord (= 5.1.6.1)

I see from https://rubygems.org/gems/acts-as-taggable-on/versions/6.0.0 that there is a runtime dependency on activerecord (~> 5.0). Why does this dependency exist? Should acts-as-taggable-on support Rails 5.1 and 5.2?

@x1wins
Copy link

x1wins commented Jun 11, 2019

I used gem 'rails', '~> 6.0.0.rc1' and I have same problem

Resolving dependencies...
Bundler could not find compatible versions for gem "activerecord":
  In Gemfile:
    acts-as-taggable-on (~> 6.0) was resolved to 6.0.0, which depends on
      activerecord (~> 5.0)

    rails (~> 6.0.0.rc1) was resolved to 6.0.0.rc1, which depends on
      activerecord (= 6.0.0.rc1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants