Don't show script name when bundle exec and call ruby script directly.
This commit is contained in:
parent
c97dc7739e
commit
71c14c8889
Notes:
git
2024-08-21 07:48:54 +00:00
@ -103,6 +103,11 @@ module Gem::BUNDLED_GEMS
|
||||
require_found = true
|
||||
end
|
||||
end
|
||||
# Don't show script name when bundle exec and call ruby script directly.
|
||||
if cl.path.end_with?("bundle")
|
||||
frame_count = 0
|
||||
break
|
||||
end
|
||||
end
|
||||
require_found ? 1 : frame_count - 1
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user