Skip to content

Commit 04ab0b5

Browse files
committed
Lock bigdecimal version to 3.1.4
This commit addresses the Rails CI using Ruby master branch failure because Rails CI enables `RAILS_STRICT_WARNINGS` to raise RuntimeError for warnings. https://buildkite.com/rails/rails/builds/102621#018c49df-e3de-4c2f-aeb7-6d8f08997da9/1102-1107 ```ruby /rails/activesupport/lib/active_support/core_ext/big_decimal/conversions.rb:4: warning: bigdecimal/util is found in bigdecimal, which will no longer be part of the default gems since Ruby 3.4.0. Add bigdecimal to your Gemfile or gemspec. (RuntimeError) ``` According to https://bugs.ruby-lang.org/issues/20058 , This failure has been triggered since ruby/ruby@cc98265 and it will be addressed once the bigdecimal 3.1.5 is available at rubygems.org . In the meantime, we can workaround this issue by logking `bigdecimal` version to 3.1.4 or lower. This commit should be reverted when the `bigdecimal` 3.1.5 is available at rubygems.org .
1 parent 486c50a commit 04ab0b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ PATH
8686
marcel (~> 1.0)
8787
activesupport (7.2.0.alpha)
8888
base64
89-
bigdecimal
89+
bigdecimal (< 3.1.5)
9090
concurrent-ruby (~> 1.0, >= 1.0.2)
9191
connection_pool (>= 2.2.5)
9292
drb

activesupport/activesupport.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ Gem::Specification.new do |s|
4141
s.add_dependency "minitest", ">= 5.1"
4242
s.add_dependency "base64"
4343
s.add_dependency "drb"
44-
s.add_dependency "bigdecimal"
44+
s.add_dependency "bigdecimal", "< 3.1.5"
4545
end

0 commit comments

Comments
 (0)