Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle Ruby 3.1 eval location change
Ref: ruby/ruby#4519 On Ruby 3.1, `Backtrace::Location#absolute_path` returns `nil` if the code was loaded with eval. That same PR made `require_relative` fallback to `Backtrace::Location#path` in such case, so we're doing the same.
- Loading branch information