awesome-print/awesome_print

warning: constant ::Fixnum is deprecated

hasibduetcse opened this issue · 3 comments

``/home/hasib/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-4.1.6/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Fixnum is deprecated
/home/hasib/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-4.1.6/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Bignum is deprecated
rake aborted!
SystemStackError: stack level too deep
/home/hasib/myapp/BitsinoDice/config/environment.rb:5:in `<top (required)>'
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)

What I need to do?

@hasibduetcse, the issue is not clear. Please give some background on what were you trying to do and how this error occurred.

as per https://stackoverflow.com/questions/41463999/warning-constant-fixnum-is-deprecated-when-generating-new-model

This warnings appear because you are using ruby 2.4.0+

I guess this gem needs to be updated to be compatible with latest Ruby versions.

This should be wrapped up now in the new release.