Skip to content

Commit

Permalink
support Ruby 3.3
Browse files Browse the repository at this point in the history
by skipping `bundled_gems.rb`
  • Loading branch information
ko1 committed Dec 9, 2023
1 parent 04c22c5 commit b92dc5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/debug/session.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2189,7 +2189,8 @@ def self.require_location
locs.each do |loc|
case loc.absolute_path
when dir_prefix
when %r{rubygems/core_ext/kernel_require\.rb}
when %r{rubygems/core_ext/kernel_require\.rb$}
when %r{bundled_gems\.rb$}
else
return loc if loc.absolute_path
end
Expand Down

0 comments on commit b92dc5e

Please sign in to comment.