[ruby/gdbm] Workaround for GitHub Actions
https://github.com/ruby/gdbm/commit/f42103fe93
This commit is contained in:
parent
b6bae0ec44
commit
63872c7e31
@ -143,7 +143,7 @@ if defined? GDBM
|
|||||||
|
|
||||||
def open_db_child(dbname, *opts)
|
def open_db_child(dbname, *opts)
|
||||||
opts = [0644, *opts].map(&:inspect).join(', ')
|
opts = [0644, *opts].map(&:inspect).join(', ')
|
||||||
args = [EnvUtil.rubybin, "-rgdbm", "-e", <<-SRC, dbname]
|
args = [EnvUtil.rubybin, "-Ilib", "-rgdbm", "-e", <<-SRC, dbname]
|
||||||
STDOUT.sync = true
|
STDOUT.sync = true
|
||||||
gdbm = GDBM.open(ARGV.shift, #{opts})
|
gdbm = GDBM.open(ARGV.shift, #{opts})
|
||||||
puts gdbm.class
|
puts gdbm.class
|
||||||
|
Loading…
x
Reference in New Issue
Block a user