has-friendship / has_friendship

Add friendship to ActiveRecord models
MIT License
198 stars 98 forks source link

Dont work with rails 5.1.3 #48

Closed nikolaylositskiy closed 6 years ago

nikolaylositskiy commented 7 years ago

Bundler could not find compatible versions for gem "rails": In snapshot (Gemfile.lock): rails (= 5.1.3)

In Gemfile: rails (~> 5.1.3)

has_friendship (~> 1.1) was resolved to 1.1.0, which depends on
  rails (< 5.1.0, >= 4.0.0)
hawry commented 7 years ago

This happened to me too, I forked this repo and modified the .gemspec file to allow rails 5.1 and modified the migration version as well and I'm currently using the fork as the gem source, until the dependency versions is updated in this repo. I haven't discovered any compatibility issues with the changed so far.

daniel-g commented 6 years ago

Already fixed in 3dbd72574f2857de9216991704788879587d6fe8

chevinbrown commented 6 years ago

This should be corrected in the most current release.

Please correct me if I’m wrong.