All threads / Error running Rails with Ruby 2.4.0

Ask A Question

Notifications

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

Join the discussion

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

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

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

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.