diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-04-26 17:09:06 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-07-05 09:25:42 +0200 |
commit | 156629291e003da57c85fcdda4199da0fb07833a (patch) | |
tree | 398f3511bbcb7b1477cedd8f20f30a3168d5d899 /spec/runtime | |
parent | 9381dd20e53a12c2cdf850ba5d48b6de574538b5 (diff) | |
download | bundler-156629291e003da57c85fcdda4199da0fb07833a.tar.gz |
Make spec easier to debug
Diffstat (limited to 'spec/runtime')
-rw-r--r-- | spec/runtime/setup_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/runtime/setup_spec.rb b/spec/runtime/setup_spec.rb index 51de4eb38a..3866bebb44 100644 --- a/spec/runtime/setup_spec.rb +++ b/spec/runtime/setup_spec.rb @@ -833,7 +833,9 @@ end ruby <<-R, :env => { "GEM_PATH" => symlinked_gem_home }, :no_lib => true TracePoint.trace(:class) do |tp| - puts "OMG" if tp.path.include?("bundler") && !tp.path.start_with?("#{File.expand_path("../..", __dir__)}") + if tp.path.include?("bundler") && !tp.path.start_with?("#{File.expand_path("../..", __dir__)}") + puts "OMG. Defining a class from another bundler at \#{tp.path}:\#{tp.lineno}" + end end gem 'bundler', '#{Bundler::VERSION}' require 'bundler/setup' |