Skip to content

Commit 77fc536

Browse files
committed
ubygems.rb is unavailable on Ruby 2.5
1 parent 40d554d commit 77fc536

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/rubygems/test_gem.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1509,7 +1509,7 @@ def test_looks_for_gemdeps_files_automatically_on_start
15091509

15101510
path = File.join @tempdir, "gem.deps.rb"
15111511
cmd = [Gem.ruby.dup.untaint, "-I#{LIB_PATH.untaint}",
1512-
"-I#{BUNDLER_LIB_PATH.untaint}", "-rubygems"]
1512+
"-I#{BUNDLER_LIB_PATH.untaint}", "-rrubygems"]
15131513
if RUBY_VERSION < '1.9'
15141514
cmd << "-e 'puts Gem.loaded_specs.values.map(&:full_name).sort'"
15151515
cmd = cmd.join(' ')

0 commit comments

Comments
 (0)