summaryrefslogtreecommitdiff
path: root/lib/tracer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tracer.rb')
-rw-r--r--lib/tracer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tracer.rb b/lib/tracer.rb
index a9e5d25..b1f08f3 100644
--- a/lib/tracer.rb
+++ b/lib/tracer.rb
@@ -287,7 +287,7 @@ if $0 == __FILE__
ARGV.shift
Tracer.on
require $0
-elsif caller.count {|bt| /\A<internal:[^<>]+>:/ !~ bt} <= 1
+elsif caller.count {|bt| /\/rubygems\/custom_require.rb:/ !~ bt} <= 1
Tracer.on
end
# :startdoc: