We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd840a6 commit db9fbd2Copy full SHA for db9fbd2
test/minitest_test_runner_test.rb
@@ -7,7 +7,8 @@ module RubyLsp
7
class MinitestTestRunnerTest < Minitest::Test
8
def test_minitest_output
9
plugin_path = "lib/ruby_lsp/ruby_lsp_reporter_plugin.rb"
10
- env = { "RUBYOPT" => "-r./#{plugin_path}" }
+ # In Ruby 3.1, the require fails unless Bundler is set up.
11
+ env = { "RUBYOPT" => "-rbundler/require -r./#{plugin_path}" }
12
_stdin, stdout, stderr, wait_thr = T.unsafe(Open3).popen3(
13
env,
14
"bundle",
0 commit comments