Fix RUBYOPT to be debugger compatible

MSP-11671

RUBYOPT needs to be appended to so that debugger is always first.
bug/bundler_fix
Luke Imhoff 2014-12-02 15:31:57 -06:00
parent f696a5ab0e
commit 3c3792330c
No known key found for this signature in database
GPG Key ID: 5B1FB01FB33356F8
1 changed files with 1 additions and 1 deletions

View File

@ -22,5 +22,5 @@ Before do |scenario|
simplecov_setup_pathname = Pathname.new(__FILE__).expand_path.parent.join('simplecov_setup')
# set environment variable so child processes will merge their coverage data with parent process's coverage data.
set_env('RUBYOPT', "-r#{simplecov_setup_pathname} #{ENV['RUBYOPT']}")
set_env('RUBYOPT', "#{ENV['RUBYOPT']} -r#{simplecov_setup_pathname}")
end