mardi 25 avril 2017

Stack level too deep error when running test

I tried to run rspec and got this error:

/Users/Johnson/.rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Fixnum is deprecated /Users/Johnson/.rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Bignum is deprecated /Users/Johnson/.rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:125:in block (2 levels) in <class:Numeric>': stack level too deep (SystemStackError) from /Users/Johnson/.rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:inblock (2 levels) in ' from /Users/Johnson/.rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in block (2 levels) in <class:Numeric>' from /Users/Johnson/.rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:inblock (2 levels) in ' from /Users/Johnson/.rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in block (2 levels) in <class:Numeric>' from /Users/Johnson/.rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:inblock (2 levels) in ' from /Users/Johnson/.rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in block (2 levels) in <class:Numeric>' from /Users/Johnson/.rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:inblock (2 levels) in ' from /Users/Johnson/.rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in block (2 levels) in <class:Numeric>' ... 5588 levels... from /Users/Johnson/.rvm/gems/ruby-2.4.0/bin/rspec:22:inload' from /Users/Johnson/.rvm/gems/ruby-2.4.0/bin/rspec:22:in <main>' from /Users/Johnson/.rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:ineval' from /Users/Johnson/.rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:in `'

Does anyone have idea what might cause this?

Aucun commentaire:

Enregistrer un commentaire