From 2a1df0b1b8544b5ff47d1d0a482b4982fd8c1a3c Mon Sep 17 00:00:00 2001 From: Celia Collins Date: Mon, 27 Jul 2020 13:45:55 +0100 Subject: [PATCH] Remove gem "asset_bom_removal-rails" To work around the issue with sassc and unquote the accepted solution has been to set css_compressor to nil and then use sass_style to achieve a similar effect. However the gem forces the css_compressor back to :sass thus breaking again on asset compilation. Removing the gem fixes this and the gem itself does not seem to be necessary since it was introduced to fix issues in Firefox 52 and the latest Firefox version is 78 --- Gemfile | 1 - Gemfile.lock | 4 ---- 2 files changed, 5 deletions(-) diff --git a/Gemfile b/Gemfile index d17d36f38..3756c7764 100644 --- a/Gemfile +++ b/Gemfile @@ -4,7 +4,6 @@ ruby File.read(".ruby-version").strip gem "rails", "6.0.3.2" -gem "asset_bom_removal-rails" gem "dalli" gem "gds-api-adapters" gem "govuk_ab_testing" diff --git a/Gemfile.lock b/Gemfile.lock index 8fe265d17..1768d6d9f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -64,9 +64,6 @@ GEM ansi (1.5.0) archive-zip (0.12.0) io-like (~> 0.3.0) - asset_bom_removal-rails (1.0.2) - rails (>= 4.2) - sass (> 3.4) ast (2.4.1) better_errors (2.7.1) coderay (>= 1.0.0) @@ -371,7 +368,6 @@ PLATFORMS ruby DEPENDENCIES - asset_bom_removal-rails better_errors binding_of_caller capybara