Skip to content

Commit

Permalink
Fix: undefined method 'new' for BigDecimal:Class exception
Browse files Browse the repository at this point in the history
  • Loading branch information
helio3197 committed Nov 10, 2024
1 parent 95ebbf1 commit 8d8e7c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions specs_e2e/rails_4_2/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 4.2.10'
gem 'sprockets', '~> 3.7.2'
# Solution for issue: NoMethodError: undefined method `new' for BigDecimal:Class
# https://github.com/ruby/bigdecimal?tab=readme-ov-file#which-version-should-you-select
gem 'bigdecimal', '1.3.5'

group :development, :test do
gem 'vcr'
Expand Down

0 comments on commit 8d8e7c7

Please sign in to comment.