diff --git a/test/test_require.rb b/test/test_require.rb index 59db45f05..f002223f1 100644 --- a/test/test_require.rb +++ b/test/test_require.rb @@ -9,7 +9,7 @@ class TestRequire < Minitest::Test next if File.basename(fn) == "version.rb" define_method "test_require_individual_library_files: #{fn}" do - system "ruby", fn + system "bundle", "exec", "ruby", fn assert $?.success?, "Failed to load #{fn.inspect}" end end