From 3ca0ed913388abb58ada5afcd1704faca6ff73de Mon Sep 17 00:00:00 2001 From: Yuri Bocharov Date: Wed, 3 Jul 2024 11:29:51 -0400 Subject: [PATCH] fix: remove mini_racer to prevent segfaults (and because we don't use it) (#4478) * fix: downgrade mini_racer to prevent segfaults Currently when I run `rails assets:precompile` the application segfaults. This seems to be related to mini_racer. The easiest solution is to downgrade to a version of mini_rancer without these issues. See https://github.com/rubyjs/mini_racer/issues/300 for more info. * fix: remove it instead --- Gemfile | 1 - Gemfile.lock | 6 ------ 2 files changed, 7 deletions(-) diff --git a/Gemfile b/Gemfile index 6dcd1ef7d4..40b72a0957 100644 --- a/Gemfile +++ b/Gemfile @@ -103,7 +103,6 @@ gem "clockwork" # These are gems that aren't used directly, only as dependencies for other gems. # Technically they don't need to be in this Gemfile at all, but we are pinning them to # specific versions for compatibility reasons. -gem "mini_racer", "~> 0.12.0" gem "nokogiri", ">= 1.10.4" gem "image_processing" gem "sprockets", "~> 4.2.1" diff --git a/Gemfile.lock b/Gemfile.lock index b9908cfe7a..55f3fb74a4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -336,9 +336,6 @@ GEM childprocess (~> 5.0) letter_opener (1.10.0) launchy (>= 2.2, < 4) - libv8-node (21.7.2.0-arm64-darwin) - libv8-node (21.7.2.0-x86_64-darwin) - libv8-node (21.7.2.0-x86_64-linux) lint_roller (1.1.0) listen (3.9.0) rb-fsevent (~> 0.10, >= 0.10.3) @@ -367,8 +364,6 @@ GEM method_source (1.1.0) mini_magick (4.11.0) mini_mime (1.1.5) - mini_racer (0.12.0) - libv8-node (~> 21.7.2.0) minitest (5.24.0) monetize (1.12.0) money (~> 6.12) @@ -747,7 +742,6 @@ DEPENDENCIES lograge magic_test matrix - mini_racer (~> 0.12.0) money-rails newrelic_rpm nokogiri (>= 1.10.4)