Skip to content

Commit 8d8e7c7

Browse files
committed
Fix: undefined method 'new' for BigDecimal:Class exception
1 parent 95ebbf1 commit 8d8e7c7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

specs_e2e/rails_4_2/Gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ source 'https://rubygems.org'
33
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
44
gem 'rails', '~> 4.2.10'
55
gem 'sprockets', '~> 3.7.2'
6+
# Solution for issue: NoMethodError: undefined method `new' for BigDecimal:Class
7+
# https://github.com/ruby/bigdecimal?tab=readme-ov-file#which-version-should-you-select
8+
gem 'bigdecimal', '1.3.5'
69

710
group :development, :test do
811
gem 'vcr'

0 commit comments

Comments
 (0)