Skip to content

Commit 3c37923

Browse files
committed
Fix RUBYOPT to be debugger compatible
MSP-11671 RUBYOPT needs to be appended to so that debugger is always first.
1 parent f696a5a commit 3c37923

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/support/hooks.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222

2323
simplecov_setup_pathname = Pathname.new(__FILE__).expand_path.parent.join('simplecov_setup')
2424
# set environment variable so child processes will merge their coverage data with parent process's coverage data.
25-
set_env('RUBYOPT', "-r#{simplecov_setup_pathname} #{ENV['RUBYOPT']}")
25+
set_env('RUBYOPT', "#{ENV['RUBYOPT']} -r#{simplecov_setup_pathname}")
2626
end

0 commit comments

Comments
 (0)