Skip to content

active_admin_role can not work on rails (~> 7.0.0) was resolved to 7.0.0 #22

Open
@ciscolive

Description

@ciscolive

HI team, could you help update the activeadmin_role .

when bundle add active_admin_role in rails project, got some errors as below:

D:\RUBY\mojo> bundle add active_admin_role
Fetching gem metadata from https://rubygems.org/............
Resolving dependencies...
Bundler could not find compatible versions for gem "rails":
  In snapshot (Gemfile.lock):
    rails (= 7.0.0)

  In Gemfile:
    rails (~> 7.0.0)

    active_admin_role was resolved to 0.1.1, which depends on
      activeadmin (>= 1.0.0.pre4) was resolved to 1.0.0.pre4, which depends on
        rails (< 5.1, >= 3.2)

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

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

  In Gemfile:
    active_admin_role was resolved to 0.1.1, which depends on
      activeadmin (>= 1.0.0.pre4) was resolved to 1.0.0.pre5, which depends on
        railties (< 5.1, >= 3.2)

    rails (~> 7.0.0) was resolved to 7.0.0, which depends on
      railties (= 7.0.0)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions