mirror of
https://github.com/ruby/ruby.git
synced 2026-08-11 08:13:34 +08:00
A non-String executable name or bindir previously raised TypeError from File.basename or File.join. Guard the type so verify_spec raises Gem::InstallError instead of aborting with an unexpected exception. https://github.com/ruby/rubygems/commit/89bf13a11b Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>