1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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.
This commit is contained in:
Nobuyoshi Nakada 2021-12-15 21:41:49 +09:00
parent 1694190833
commit 333865e56f
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -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]