diff --git a/core/lib/generators/solidus/install/install_generator.rb b/core/lib/generators/solidus/install/install_generator.rb index 4bf4eb84336..bc9ae117c85 100644 --- a/core/lib/generators/solidus/install/install_generator.rb +++ b/core/lib/generators/solidus/install/install_generator.rb @@ -179,6 +179,8 @@ def run_migrations def install_subcomponents apply_template_for :authentication, @selected_authentication apply_template_for :frontend, @selected_frontend + gsub_file "Gemfile", 'gem "solidus_support"', 'gem "solidus_support", ">= 0.12.0"' + bundle_command "install" apply_template_for :payment_method, @selected_payment_method end diff --git a/legacy_promotions/solidus_legacy_promotions.gemspec b/legacy_promotions/solidus_legacy_promotions.gemspec index fdd1bcddaac..847a100ff0b 100644 --- a/legacy_promotions/solidus_legacy_promotions.gemspec +++ b/legacy_promotions/solidus_legacy_promotions.gemspec @@ -25,5 +25,5 @@ Gem::Specification.new do |s| s.add_dependency 'solidus_api', s.version s.add_dependency 'solidus_core', s.version - s.add_dependency 'solidus_support' + s.add_dependency 'solidus_support', '>= 0.12.0' end diff --git a/promotions/solidus_promotions.gemspec b/promotions/solidus_promotions.gemspec index fd3f6a35348..1838e94dfaa 100644 --- a/promotions/solidus_promotions.gemspec +++ b/promotions/solidus_promotions.gemspec @@ -27,7 +27,7 @@ Gem::Specification.new do |spec| spec.add_dependency "importmap-rails", "~> 1.2" spec.add_dependency "ransack-enum", "~> 1.0" spec.add_dependency "solidus_core", [">= 4.0.0", "< 5"] - spec.add_dependency "solidus_support", "~> 0.5" + spec.add_dependency "solidus_support", ">= 0.12.0" spec.add_dependency "stimulus-rails", "~> 1.2" spec.add_dependency "turbo-rails", ">= 1.4" end