-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Rails 5 issue: acts-as-taggable-on 3.5.0 has a dependency on activerecord < 5 #762
Comments
I had the same message: Bundle could not find compatible versions for gem "activerecord". I suppose you don't need to do my first step. I also removed the gemlock file, as suggested on Stack Overflow. Not sure if that step is needed either. |
So that helped get past the initial hurdle, and I ran the new migration it mentioned to add indexes. Now I can't seem to record new items that have tags as it results in a ROLLBACK:
Not using tags or updating an already tagged item without changing the tags works fine. EDIT: it seems this other issue has been reported in #742 |
YES! It is working now. You can use my fork and add it in the gemfile instead: Hope it works for you too! |
+1 |
This one is solved with PR #720. |
A prerelease is available, please test it and report any bug. |
I was trying to upgrade an application to Rails 5, and after deleting my
Gemfile.lock
and re-runningbundle install
, I noticed that the dependency resolution yielded acts-as-taggable-on 2.1.1 instead of 3.5.0 (which I assume is the version that should have actual support for Rails 5).How do I get this gem to work with Rails 5?
The text was updated successfully, but these errors were encountered: