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:
parent
1694190833
commit
333865e56f
1
.github/workflows/check_misc.yml
vendored
1
.github/workflows/check_misc.yml
vendored
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user