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

RubyGems Metadata Issue #2714

Closed
benverseman opened this issue Dec 1, 2024 · 1 comment
Closed

RubyGems Metadata Issue #2714

benverseman opened this issue Dec 1, 2024 · 1 comment
Labels
bug breakages in functionality that is implemented

Comments

@benverseman
Copy link

  • What were you trying to do?

    • Attempting to update from administrate 0.19.0 to greater version
  • What did you end up with (logs, or, even better, example apps are great!)?
    bundle update administrate
    Fetching gem metadata from https://rubygems.org/........
    Resolving dependencies...
    Could not find compatible versions

Because administrate >= 0.20.0 depends on activerecord >= 6.0, < 8.0
and Gemfile depends on activerecord >= 8.0.0,
administrate >= 0.20.0 cannot be used.
So, because Gemfile depends on administrate ~> 0.20.1,
version solving has failed.

  • What versions are you running?
    • Rails 8
    • administrate 0.19

Looks like the issue lies with the dependencies listed on Rubygems.org. When I manually add the repo from Github, bundler installs administrate just fine.

@benverseman benverseman added the bug breakages in functionality that is implemented label Dec 1, 2024
@nickcharlton
Copy link
Member

There's are a couple of things here, first is support for Rails 8 is merged, but not released yet: #2705.

I also saw an issue where you might end up with an older version (which amusingly it will work), but it's worth being mindful of: #2703 (comment)

You can work around this by bundling from main for now (or from the sha associated with the merged in Rails 8 support), but only if you're keen to be on the bleeding edge of the beta releases.

There will be a release soon, as everything for v1 is looking good to go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug breakages in functionality that is implemented
Projects
None yet
Development

No branches or pull requests

2 participants