Error executing 'rails s'

0

At the moment of wanting to raise the server service, it gives me this:

rails s
=> Booting WEBrick
=> Rails 4.2.6 application starting in development on http://localhost:3000
=> Run 'rails server -h' for more startup options
=> Ctrl-C to shutdown server
/home/ricardo/.rvm/gems/ruby-2.4.1/gems/activesupport-4.2.6/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Fixnum is deprecated
/home/ricardo/.rvm/gems/ruby-2.4.1/gems/activesupport-4.2.6/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Bignum is deprecated
Exiting
/home/ricardo/.rvm/gems/ruby-2.4.1/gems/activesupport-4.2.6/lib/active_support/core_ext/numeric/conversions.rb:124:in 'block (2 levels) in <class:Numeric>': stack level too deep (SystemStackError)
    from /home/ricardo/.rvm/gems/ruby-2.4.1/gems/activesupport-4.2.6/lib/active_support/core_ext/numeric/conversions.rb:131:in 'block (2 levels) in <class:Numeric>'
    from /home/ricardo/.rvm/gems/ruby-2.4.1/gems/activesupport-4.2.6/lib/active_support/core_ext/numeric/conversions.rb:131:in 'block (2 levels) in <class:Numeric>'
    from /home/ricardo/.rvm/gems/ruby-2.4.1/gems/activesupport-4.2.6/lib/active_support/core_ext/numeric/conversions.rb:131:in 'block (2 levels) in <class:Numeric>'
    from /home/ricardo/.rvm/gems/ruby-2.4.1/gems/activesupport-4.2.6/lib/active_support/core_ext/numeric/conversions.rb:131:in 'block (2 levels) in <class:Numeric>'
    from /home/ricardo/.rvm/gems/ruby-2.4.1/gems/activesupport-4.2.6/lib/active_support/core_ext/numeric/conversions.rb:131:in 'block (2 levels) in <class:Numeric>'
    from /home/ricardo/.rvm/gems/ruby-2.4.1/gems/activesupport-4.2.6/lib/active_support/core_ext/numeric/conversions.rb:131:in 'block (2 levels) in <class:Numeric>'
    from /home/ricardo/.rvm/gems/ruby-2.4.1/gems/activesupport-4.2.6/lib/active_support/core_ext/numeric/conversions.rb:131:in 'block (2 levels) in <class:Numeric>'
    from /home/ricardo/.rvm/gems/ruby-2.4.1/gems/activesupport-4.2.6/lib/active_support/core_ext/numeric/conversions.rb:131:in 'block (2 levels) in <class:Numeric>'
     ... 4044 levels...
    from /home/ricardo/.rvm/gems/ruby-2.4.1/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:39:in 'run_command!'
    from /home/ricardo/.rvm/gems/ruby-2.4.1/gems/railties-4.2.6/lib/rails/commands.rb:17:in '<top (required)>'
    from bin/rails:4:in 'require'
    from bin/rails:4:in '<main>'
    
asked by Ricardo Villagrana Larios 04.04.2017 в 03:18
source

1 answer

0

Reviewing the solution in SO , shows that your options are:

  • Make a ruby downgrade to a version before 2.4 (you are using ruby 2.4.1)
  • Or update rails to version 4.2.8 or later (you are using rails 4.2.6)
answered by 04.04.2017 в 18:43