public-activity / public_activity

Easy activity tracking for models - similar to Github's Public Activity
MIT License
2.97k stars 336 forks source link

why public_activity dependency is not resolved by actionpack gem with version 6.0.4 #355

Closed prvinuch closed 1 year ago

prvinuch commented 3 years ago

Steps to reproduce

I was trying to upgrade rails and ruby version and also tried updating the dependent gem, I'm getting this error which I'm not able to understand

Bundler could not find compatible versions for gem "actionpack":
  In Gemfile:
    actionpack (~> 6.0, >= 6.0.4)

    public_activity (~> 1.6, >= 1.6.4) was resolved to 1.6.4, which depends on
      actionpack (>= 3.0.0)

    rails (= 6.0.4) was resolved to 6.0.4, which depends on
      actionpack (= 6.0.4)

Expected behavior

as per my understanding, the version of actionpack is 6.0.4 which should be ok as public_activity gem also depends upon actionpack >=3.0.0 which is being satisfied by 6.0.4 and similarly for rails 6.0.4

System configuration

Rails version: 6.0.4 Ruby version: 2.6.7

ur5us commented 2 years ago

@prvinuch As this issue is close to 1 year old, have you managed to resolve your issue? If not, could you try v2.0.0?

ur5us commented 1 year ago

Closing due to lack of further background information. Moreover, it might be a Bundler/RubyGems issue instead of an issue with our version constraints.