From 40838d2f1d464a9c5f5240faebdd8db1f3fdead1 Mon Sep 17 00:00:00 2001 From: Thomas von Deyen Date: Wed, 11 Aug 2021 14:27:29 +0200 Subject: [PATCH] Patch Gutentag migrations during dummy app setup They decided to make it very complicated to make the migrations work. Thats why need to do this complex dance. Yes, the order of operations is necessarry. --- Rakefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Rakefile b/Rakefile index 08695fa..88e4218 100644 --- a/Rakefile +++ b/Rakefile @@ -20,6 +20,8 @@ task :test_setup do system <<-SETUP.strip_heredoc export RAILS_ENV=test && \ bin/rake db:environment:set db:drop && \ + bin/rake gutentag:install:migrations && \ + bin/rails g gutentag:migration_versions && \ bin/rails g spree:install --force --auto-accept --no-seed --no-sample && \ bin/rails g alchemy:solidus:install --auto-accept --force SETUP