From 71d44949bf358421ffe2eec9ae040a3e95c79151 Mon Sep 17 00:00:00 2001 From: Claire Date: Fri, 7 Jul 2023 18:10:00 +0200 Subject: [PATCH] Fix branding:generate_app_icons failing because of disallowed ICO coder (#25794) --- lib/tasks/branding.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/branding.rake b/lib/tasks/branding.rake index d1c1c9dede7..d97c97c99ed 100644 --- a/lib/tasks/branding.rake +++ b/lib/tasks/branding.rake @@ -40,7 +40,7 @@ namespace :branding do output_dest = Rails.root.join('app', 'javascript', 'icons') rsvg_convert = Terrapin::CommandLine.new('rsvg-convert', '-w :size -h :size --keep-aspect-ratio :input -o :output') - convert = Terrapin::CommandLine.new('convert', ':input :output') + convert = Terrapin::CommandLine.new('convert', ':input :output', environment: { 'MAGICK_CONFIGURE_PATH' => nil }) favicon_sizes = [16, 32, 48] apple_icon_sizes = [57, 60, 72, 76, 114, 120, 144, 152, 167, 180, 1024]