From 1fe4a83f6ec9e5086acac448373bf767a5ec7898 Mon Sep 17 00:00:00 2001 From: cat_in_136 Date: Sat, 11 Nov 2023 17:19:39 +0900 Subject: [PATCH] add HACK for "uninitialized constant Nokogiri::HTML4 Issue" in redmine_plugin.yml --- .github/workflows/redmine_plugin.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/redmine_plugin.yml b/.github/workflows/redmine_plugin.yml index 94288fd..97a1f75 100644 --- a/.github/workflows/redmine_plugin.yml +++ b/.github/workflows/redmine_plugin.yml @@ -71,6 +71,14 @@ jobs: restore-keys: | ${{ runner.os }}-gems- + - name: uninitialized constant Nokogiri::HTML4 Issue HACK ref. https://qiita.com/Mattani/items/c4bcc95a72b69d1c0489 + uses: DamianReeves/write-file-action@v1.2 + with: + path: ./redmine/Gemfile.local + contents: | + gem 'loofah', '~> 2.20.0' + if: contains(fromJSON('["2.6 redmine/redmine@4.1.7", "2.6 redmine/redmine@4.0.9", "2.5 redmine/redmine@4.0.9"]'), matrix.mat_env) + - name: Before script run: | cd ./redmine