Skip to content

Incompatible versions gems #5898

@hadivarp

Description

@hadivarp

I am trying to add Solidus to my new Rails project, following the installation instructions on GitHub. Below is my current Gemfile:

source "https://rubygems.org"

gem "rails", "~> 7.2.2"
gem "sprockets-rails"
gem "pg", "~> 1.1"
gem "puma", ">= 5.0"
gem "importmap-rails"
gem "turbo-rails"
gem "stimulus-rails"
gem "jbuilder"
gem "tzinfo-data", platforms: %i[windows jruby]
gem "bootsnap", require: false

group :development, :test do
  gem "debug", platforms: %i[mri windows], require: "debug/prelude"
  gem "brakeman", require: false
  gem "rubocop-rails-omakase", require: false
end

group :development do
  gem "web-console"
end

group :test do
  gem "capybara"
  gem "selenium-webdriver"
end

However, I keep running into compatibility issues.
Solidus requires rails >= 7.2.2, < 8.0.0.beta1 and solidus_core >= 2.3.0.beta1, < 2.5.0.beta1, which depends on rails ~> 5.1.0.

This version conflict is preventing me from using Solidus with Rails 7.2.2, and even when I try downgrading Rails, the issue persists.

If anyone has faced a similar problem or found a workaround, please let me know how you resolved it. Thank you!

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