From: "MSP-Greg (Greg L) via ruby-core" Date: 2023-08-25T15:22:27+00:00 Subject: [ruby-core:114539] [Ruby master Bug#19852] bundled_gems.rb & bigdecimal Issue #19852 has been reported by MSP-Greg (Greg L). ---------------------------------------- Bug #19852: bundled_gems.rb & bigdecimal https://bugs.ruby-lang.org/issues/19852 * Author: MSP-Greg (Greg L) * Status: Open * Priority: Normal * ruby -v: ruby 3.3.0dev (2023-08-25T13:01:21Z master f5c8bdaa8a) [x86_64-linux] * Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN ---------------------------------------- Running the following: ```ruby ruby -rbigdecimal -e "puts BigDecimal::VERSION" ``` A warning is shown when bigdecimal.rb is loaded, when bigdecimal.so is loaded, an error is thrown: ``` /usr/local/lib/ruby/3.3.0+0/bundled_gems.rb:84:in `<': comparison of String with nil failed (ArgumentError) end + " which #{RUBY_VERSION < SINCE[gem] ? "will be" : "is"} not part of the default gems since Ruby #{SINCE[gem]}" ^^^^^^^^^^ from /usr/local/lib/ruby/3.3.0+0/bundled_gems.rb:84:in `warning?' from /usr/local/lib/ruby/3.3.0+0/bundled_gems.rb:90:in `block in ' ``` -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/