
Issue #20060 has been updated by hsbt (Hiroshi SHIBATA). I merged https://github.com/ruby/ruby/pull/9226 and https://github.com/ruby/ruby/pull/9198 for this issue. ---------------------------------------- Bug #20060: bundled_gems.rb is not working with Bootsnap https://bugs.ruby-lang.org/issues/20060#change-105670 * Author: hsbt (Hiroshi SHIBATA) * Status: Closed * Priority: Normal * Assignee: hsbt (Hiroshi SHIBATA) * Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN ---------------------------------------- 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. -- https://bugs.ruby-lang.org/