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

Pinned version of dry causing bundle error... #15

Open
jwilliams722 opened this issue Aug 29, 2022 · 2 comments
Open

Pinned version of dry causing bundle error... #15

jwilliams722 opened this issue Aug 29, 2022 · 2 comments

Comments

@jwilliams722
Copy link

jwilliams722 commented Aug 29, 2022

Hello @scarhand,

I am getting a bundle error when using the latest version of this gem with the latest devise-jwt gem.

Versions:
devise-jwt - 0.9.0
devise-jwt-cookie - 0.5.1

Bundler could not find compatible versions for gem "dry-configurable":
  In snapshot (Gemfile.lock):
    dry-configurable (= 0.15.0)

  In Gemfile:
    devise-jwt-cookie was resolved to 0.5.1, which depends on
      dry-configurable (~> 0.9, < 0.11)

    devise-jwt was resolved to 0.9.0, which depends on
      warden-jwt_auth (~> 0.6) was resolved to 0.6.0, which depends on
        dry-configurable (~> 0.13)

Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.

When I fork your repo and remove the pinned versions for the dry-auto_inject and dry-configurable dependencies in the devise-jwt-cookie.gemspec, bundle, and point to the forked repo, all works well. Can you please remove those pinned dry versions and push up a new version of your gem? I wanted to use your gem versus forking the repo and removing the pinned version myself.

Please let me know if you have any questions or concerns about my request. Appreciate your time. Thanks.

@animista01
Copy link

I am also having this issue. You can create a PR @jwilliams722 so @scarhand can merge it.

@abhinavc
Copy link

Seeing the same dependency issue with devise-jwt 0.10.0 and devise-jwt-cookie 0.5.1.
Is this gem still maintained?

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

3 participants