Actions
Bug #20060
closedbundled_gems.rb is not working with Bootsnap
Description
Addressed from https://github.com/ruby/ruby/pull/9163#issuecomment-1850924893
bundled_gems.rb
of 3.3.0-rc1 couldn't handle full paths by Bootsnap.
$ rails new example
(snip)
rails importmap:install
bin/rails aborted!
ArgumentError: comparison of String with nil failed (ArgumentError)
msg = " #{RUBY_VERSION < SINCE[gem] ? "will no longer be" : "is not"} part of the default gems since Ruby #{SINCE[gem]}."
(snip)
It's working with DISABLE_BOOTSNAP=1. But we should resolve it with under the bootsnap.
Updated by hsbt (Hiroshi SHIBATA) 11 months ago
Updated by hsbt (Hiroshi SHIBATA) 11 months ago
I'm not sure why this issue was fixed with ruby 3.3.0dev (2023-12-13T07:28:22Z master 75f4a687ed) [arm64-darwin23]
.
This may be affected with recent RubyGems or Bundler changes.
Updated by matsuda (Akira Matsuda) 11 months ago
- Status changed from Assigned to Closed
Applied in changeset git|75c40802cb06d83fc2c3d0eca6d904fa41307230.
[Bug #20060] Properly return matched gem name in case of EXACT
this follows up 4e6861d3376eb7857d2b0a947c97b6fec8e5bf37
Updated by hsbt (Hiroshi SHIBATA) 11 months ago
I merged https://github.com/ruby/ruby/pull/9226 and https://github.com/ruby/ruby/pull/9198 for this issue.
Actions
Like0
Like0Like0Like0Like0