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

[ruby/gdbm] Workaround for GitHub Actions

https://github.com/ruby/gdbm/commit/f42103fe93
This commit is contained in:
Hiroshi SHIBATA 2019-12-01 08:02:06 +09:00
parent b6bae0ec44
commit 63872c7e31

View file

@ -143,7 +143,7 @@ if defined? GDBM
def open_db_child(dbname, *opts)
opts = [0644, *opts].map(&:inspect).join(', ')
args = [EnvUtil.rubybin, "-rgdbm", "-e", <<-SRC, dbname]
args = [EnvUtil.rubybin, "-Ilib", "-rgdbm", "-e", <<-SRC, dbname]
STDOUT.sync = true
gdbm = GDBM.open(ARGV.shift, #{opts})
puts gdbm.class