Actions
Bug #19852
closedCan't require bigdecimal - bundled_gems.rb error
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 3.3.0dev (2023-08-25T13:01:21Z master f5c8bdaa8a) [x86_64-linux]
Description
Running the following:
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 <module:BUNDLED_GEMS>'
Updated by MSP-Greg (Greg L) over 1 year ago
- Subject changed from bundled_gems.rb & bigdecimal to Can't require bigdecimal - bundled_gems.rb error
Updated by MSP-Greg (Greg L) over 1 year ago
See https://github.com/ruby/ruby/pull/8294
assumes that rb file is loaded before so file...
Updated by nobu (Nobuyoshi Nakada) over 1 year ago
- Status changed from Open to Closed
Applied in changeset git|7d32011399cbc3aa7e4b728a440e13635a39f2ed.
[Bug #19852] Use gem name without suffix
Actions
Like1
Like0Like0Like0