Weird warring on rails server startup

107 views
Skip to first unread message

Deepak Sharma

unread,
Jan 20, 2017, 2:25:05 AM1/20/17
to rubyonra...@googlegroups.com
In my application whenever I try to start rails server following warning pop-up

/home/deepak/.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
/home/deepak/.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
/home/deepak/.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
Puma starting in single mode...
* Version 3.6.2 (ruby 2.4.0-p0), codename: Sleepy Sunday Serenity
* Min threads: 5, max threads: 5
* Environment: development
* Listening on tcp://localhost:3000
Use Ctrl-C to stop


Is it something from backend or I'm missing something to install on my
machine which produce this.

--
Cheers!

Deepak Kumar Sharma

Mike

unread,
Jan 20, 2017, 3:20:34 AM1/20/17
to Ruby on Rails: Talk
Ruby 2.4 is changing the way it handles integers, at the moment it is harmless but annoying, or you can roll back to use Ruby 2.3.3

Suhel Inamdar

unread,
Jan 20, 2017, 10:58:58 PM1/20/17
to Ruby on Rails: Talk
You faced this waring because of ruby version 2.4

refer this link :-  https://www.ruby-lang.org/en/news/2016/12/25/ruby-2-4-0-released/
Reply all
Reply to author
Forward
0 new messages