From 8445eea583fbd16d4644b486e99847d074aead8b Mon Sep 17 00:00:00 2001 From: Paul Millar <paul.millar@desy.de> Date: Fri, 21 Feb 2025 22:39:15 +0100 Subject: [PATCH] Remove jekyll from gem install Motivation: A problem suddenly appeared where CI/CD jobs started to fail. This is (seemingly) from the 'gem install' command pulling in a newer version of jekyll, which caused an incompatibility with one of its dependencies (jekyll --> sass-embedded). Although the exact nature of the incompatibility is unclear, the install fails while building, with the error: NameError: uninitialized constant JSON::Fragment Modification: Remove jekyll from "gem install". Use bundler to fetch jekyll instead. This should honour the version. Results: More reliable builds --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3b1fcc6..7f3d268 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,7 +8,7 @@ variables: JEKYLL_ENV: production before_script: - - gem install bundler jekyll --no-document + - gem install bundler --no-document - bundle install test_oai_pmh: -- GitLab