Project

General

Profile

Actions

Bug #20060

closed

bundled_gems.rb is not working with Bootsnap

Added by hsbt (Hiroshi SHIBATA) 5 months ago. Updated 5 months ago.

Status:
Closed
Target version:
-
[ruby-core:115710]

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.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0