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. `File.dirname(__FILE__)` is '.'. `__FILE__` is '(eval at /path/Rakefile:linenumber)' with Ruby >= 3.3. `File.dirname(__FILE__)` is '(eval at /path'.
- Loading branch information