From b32180078293bb755b060c71ec2d51da5d5ae650 Mon Sep 17 00:00:00 2001 From: murny <1930474+murny@users.noreply.github.com> Date: Tue, 5 Dec 2023 11:16:02 -0700 Subject: [PATCH] Force ActiveStorage to use minimagick as this is what we currently use in staging/production --- config/application.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/application.rb b/config/application.rb index 1ec93231..f6b7ffda 100644 --- a/config/application.rb +++ b/config/application.rb @@ -29,5 +29,9 @@ class Application < Rails::Application # Behaviour changes when using Ruby 3.0 so can likely remove after that point. # TODO: Appears to still be an issue in Ruby 3.0, need to investigate this further. config.action_view.automatically_disable_submit_tag = false + + # We currently use mini_magick for ActiveStorage. VIPS is now the default. So we need to explicitly specify this. + # Delete this line if we ever migrate to VIPS + config.active_storage.variant_processor = :mini_magick end end