From 333865e56f594f365f2b3b4ef0f86fa4beb977c5 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 15 Dec 2021 21:41:49 +0900 Subject: [PATCH] Workaround for reline.gemspec This file searches "lib/reline/version.rb" in the same directory, "lib/reline". As no such path, the file in the default load path is loaded unexpectedly. --- .github/workflows/check_misc.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/check_misc.yml b/.github/workflows/check_misc.yml index 0c6e46580a..f4d89ea6a8 100644 --- a/.github/workflows/check_misc.yml +++ b/.github/workflows/check_misc.yml @@ -25,6 +25,7 @@ jobs: - name: Maintain updated default gem list run: | news = File.read("NEWS.md") + $:.unshift "lib" gems = Dir.glob("{ext,lib}/**/*.gemspec").map {|f| spec = Gem::Specification.load(f) [spec.name, spec.version]