Ask A Question


You’re not receiving notifications from this thread.

Error running Rails with Ruby 2.4.0

Menj Villalobos asked in Ruby
[Menj]~/RubymineProjects/myapp2$ rails s
/Users/Menj/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.0.1/lib/active_support/xml_mini.rb:51: warning: constant ::Fixnum is deprecated
/Users/Menj/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.0.1/lib/active_support/xml_mini.rb:52: warning: constant ::Bignum is deprecated
=> Booting Puma
=> Rails 5.0.1 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
/Users/Menj/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.0.1/lib/active_support/core_ext/numeric/conversions.rb:138: warning: constant ::Fixnum is deprecated

Hi anyone encountered same issue?


Hi, It's not an error. Just deprecated warning.


@Menj Villalobos this is not an error. It's not blocking your rails app, nor preventing it from starting. This is just a deprecation message.

The question is more to know if Rails 5.0.2 or is going to address this by replace all the Fixnum and Bignum by their new correct type in Ruby 2.4


Thanks :) Steve

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 71,728+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2023 GoRails, LLC. All rights reserved.