diff --git a/.circleci/config.yml b/.circleci/config.yml index 5bf9a8e720..1cfe68c16a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -157,8 +157,8 @@ commands: cat /tmp/.gems-versions - restore_cache: keys: - - solidus-installer-v7-{{ checksum "/tmp/.ruby-versions" }}-{{ checksum "/tmp/.gems-versions" }} - - solidus-installer-v7-{{ checksum "/tmp/.ruby-versions" }}- + - solidus-installer-v8-{{ checksum "/tmp/.ruby-versions" }}-{{ checksum "/tmp/.gems-versions" }} + - solidus-installer-v8-{{ checksum "/tmp/.ruby-versions" }}- - run: name: "Prepare the rails application" command: | diff --git a/admin/lib/solidus_admin/engine.rb b/admin/lib/solidus_admin/engine.rb index e3a31e3ec1..9ec4001b81 100644 --- a/admin/lib/solidus_admin/engine.rb +++ b/admin/lib/solidus_admin/engine.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true +require "view_component" + module SolidusAdmin class Engine < ::Rails::Engine isolate_namespace SolidusAdmin diff --git a/admin/solidus_admin.gemspec b/admin/solidus_admin.gemspec index 86b3e62be5..7550b5545a 100644 --- a/admin/solidus_admin.gemspec +++ b/admin/solidus_admin.gemspec @@ -25,4 +25,5 @@ Gem::Specification.new do |s| s.add_dependency 'solidus_core', s.version s.add_dependency 'tailwindcss-rails', '~> 2.0' + s.add_dependency 'view_component', '~> 3.0' end