Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix loading the gemspec file from rake with Ruby 3.3.
Calculating the current directory name from within the gemspec would fail. `__FILE__` was '(eval)' with Ruby < 3.3 and '(eval at /path/Rakefile:linenumber)' with Ruby >= 3.3. '(eval)' is treated as the current directory ('.') by File.dirname, etc. '(eval at /path/Rakefile:linenumber)' is treated as '(eval at /path'.
- Loading branch information