From 1cb600270ee6401b6846c19e37fe7f92ad9b9b83 Mon Sep 17 00:00:00 2001 From: Gerhard Schlager Date: Sun, 10 Dec 2023 22:01:36 +0100 Subject: [PATCH] DEV: Convert dependencies of generic import script into optional gem group --- Gemfile | 2 +- Gemfile.lock | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 1e88bb4c3af..9a9f577072b 100644 --- a/Gemfile +++ b/Gemfile @@ -245,7 +245,7 @@ if ENV["IMPORT"] == "1" gem "parallel", require: false end -if ENV["GENERIC_IMPORT"] == "1" +group :generic_import, optional: true do gem "sqlite3" gem "redcarpet" end diff --git a/Gemfile.lock b/Gemfile.lock index e8b91062dd9..e191b91d8d5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -361,6 +361,7 @@ GEM msgpack (>= 0.4.3) optimist (>= 3.0.0) rchardet (1.8.0) + redcarpet (3.6.0) redis (4.8.1) redis-namespace (1.11.0) redis (>= 4) @@ -477,6 +478,10 @@ GEM actionpack (>= 5.2) activesupport (>= 5.2) sprockets (>= 3.0.0) + sqlite3 (1.6.9-aarch64-linux) + sqlite3 (1.6.9-arm64-darwin) + sqlite3 (1.6.9-x86_64-darwin) + sqlite3 (1.6.9-x86_64-linux) sshkey (3.0.0) stackprof (0.2.25) syntax_tree (6.2.0) @@ -623,6 +628,7 @@ DEPENDENCIES rb-fsevent rbtrace rchardet + redcarpet redis redis-namespace rinku @@ -647,6 +653,7 @@ DEPENDENCIES simplecov sprockets! sprockets-rails + sqlite3 sshkey stackprof syntax_tree