[前][次][番号順一覧][スレッド一覧]

ruby-changes:70247

From: Nobuyoshi <ko1@a...>
Date: Wed, 15 Dec 2021 21:51:55 +0900 (JST)
Subject: [ruby-changes:70247] 333865e56f (master): Workaround for reline.gemspec

https://git.ruby-lang.org/ruby.git/commit/?id=333865e56f

From 333865e56f594f365f2b3b4ef0f86fa4beb977c5 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Wed, 15 Dec 2021 21:41:49 +0900
Subject: 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 0c6e46580a5..f4d89ea6a8a 100644
--- a/.github/workflows/check_misc.yml
+++ b/.github/workflows/check_misc.yml
@@ -25,6 +25,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/check_misc.yml#L25
       - 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]
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]