awesome-print / awesome_print

Pretty print your Ruby objects with style -- in full color and with proper indentation
http://github.com/michaeldv/awesome_print
MIT License
4.07k stars 454 forks source link

warning: constant ::Fixnum is deprecated #344

Closed hasibduetcse closed 5 years ago

hasibduetcse commented 6 years ago

`/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?

anew-bhav commented 6 years ago

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

v3rron commented 5 years ago

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.

imajes commented 5 years ago

This should be wrapped up now in the new release.