From d6859e0bf7240d6c14e94e3f0c1532abc70c3f58 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Thu, 1 Jun 2023 09:25:56 +1000 Subject: [PATCH] Remove unused mini_racer gem All asset compilation is done with webpacker at the moment. --- Gemfile | 2 -- Gemfile.lock | 4 ---- docker/README.md | 5 ----- 3 files changed, 11 deletions(-) diff --git a/Gemfile b/Gemfile index 4546ea6266..a1aaff4c5b 100644 --- a/Gemfile +++ b/Gemfile @@ -119,8 +119,6 @@ gem 'test-unit', '~> 3.5' gem 'coffee-rails', '~> 5.0.0' -gem 'mini_racer' - gem 'angular_rails_csrf' gem 'jquery-rails', '4.4.0' diff --git a/Gemfile.lock b/Gemfile.lock index 5487793248..e1edf3fc3d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -392,7 +392,6 @@ GEM libdatadog (2.0.0.1.0) libddwaf (1.8.2.0.0) ffi (~> 1.0) - libv8-node (16.10.0.0) link_header (0.0.8) listen (3.8.0) rb-fsevent (~> 0.10, >= 0.10.3) @@ -417,8 +416,6 @@ GEM mini_magick (4.11.0) mini_mime (1.1.2) mini_portile2 (2.8.2) - mini_racer (0.6.3) - libv8-node (~> 16.10.0.0) minitest (5.18.0) monetize (1.12.0) money (~> 6.12) @@ -861,7 +858,6 @@ DEPENDENCIES mime-types mimemagic (> 0.3.5) mini_portile2 (~> 2.8) - mini_racer monetize (~> 1.11) oauth2 (~> 1.4.7) omniauth-rails_csrf_protection diff --git a/docker/README.md b/docker/README.md index b927c420e9..ed34c46013 100644 --- a/docker/README.md +++ b/docker/README.md @@ -120,11 +120,6 @@ You may also need to comment out stuff related to Chromedriver and Chrome. Chrom See [#8421](https://github.com/openfoodfoundation/openfoodnetwork/issues/8421) for more info -2. `stack smashing detected ***: terminated` -To fix this error on server startup, you need to bump `mini-racer` gem from `0.4.0` to `0.5.0` - -Based on [spree/spree_starter #984](https://github.com/spree/spree_starter/issues/984) - ## Script Summary * docker/build(.ps1): This script builds the Docker containers specified for this app, seeds the database, and logs the screen output for these operations. After you use "git clone" to download this repository, run the docker/build script to start the setup process. * docker/server(.ps1): Use this script to run this app in the Rails server. This script executes the "docker-compose up" command and logs the results. If all goes well, you will be able to view this app on your local browser at http://localhost:3000/.