Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

rake aborted! NoMethodError: undefined method 'new' for BigDecimal:Class #22

Open
EAvila34 opened this issue Jun 5, 2021 · 0 comments

Comments

@EAvila34
Copy link

EAvila34 commented Jun 5, 2021

$ rake db:migrate --trace
rake aborted!
NoMethodError: undefined method new' for BigDecimal:Class C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/activesupport-4.2.6/lib/active_support/core_ext/object/duplicable.rb:85:in class:BigDecimal'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/activesupport-4.2.6/lib/active_support/core_ext/object/duplicable.rb:80:in <top (required)>' C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/activesupport-4.2.6/lib/active_support/core_ext/object.rb:3:in require'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/activesupport-4.2.6/lib/active_support/core_ext/object.rb:3:in <top (required)>' C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/railties-4.2.6/lib/rails/configuration.rb:2:in require'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/railties-4.2.6/lib/rails/configuration.rb:2:in <top (required)>' C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/railties-4.2.6/lib/rails/railtie.rb:2:in require'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/railties-4.2.6/lib/rails/railtie.rb:2:in <top (required)>' C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/railties-4.2.6/lib/rails/engine.rb:1:in require'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/railties-4.2.6/lib/rails/engine.rb:1:in <top (required)>' C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/railties-4.2.6/lib/rails/application.rb:7:in require'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/railties-4.2.6/lib/rails/application.rb:7:in <top (required)>' C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/railties-4.2.6/lib/rails.rb:11:in require'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/railties-4.2.6/lib/rails.rb:11:in <top (required)>' C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/railties-4.2.6/lib/rails/all.rb:1:in require'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/railties-4.2.6/lib/rails/all.rb:1:in <top (required)>' C:/Users/elnew/Documents/real-world-rails-example/config/application.rb:3:in require'
C:/Users/elnew/Documents/real-world-rails-example/config/application.rb:3:in <top (required)>' C:/Ruby27-x64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in require'
C:/Ruby27-x64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in require' C:/Users/elnew/Documents/real-world-rails-example/Rakefile:4:in <top (required)>'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/rake_module.rb:29:in load' C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/rake_module.rb:29:in load_rakefile'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:703:in raw_load_rakefile' C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:104:in block in load_rakefile'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:186:in standard_exception_handling' C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:103:in load_rakefile'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:82:in block in run' C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:186:in standard_exception_handling'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:80:in run' C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rake-13.0.3/exe/rake:27:in <top (required)>'
C:/Ruby27-x64/bin/rake:23:in load' C:/Ruby27-x64/bin/rake:23:in

'

Enviroment:
ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x64-mingw32]
rails 4.2.6

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant