无法启动rails服务器

时间:2017-04-24 14:08:13

标签: ruby-on-rails ruby server activesupport

=> Booting WEBrick
=> Rails 4.1.6 application starting in development on 
http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Notice: server is listening on all interfaces (0.0.0.0). Consider 
using 127.0.0.1 (--binding option)
=> Ctrl-C to shutdown server
/Users/****/.rvm/gems/ruby-2.4.0/gems/activesupport-
4.1.6/lib/active_support/core_ext/numeric/conversions.rb:121: warning: 
constant ::Fixnum is deprecated
/Users/*****/.rvm/gems/ruby-2.4.0/gems/activesupport-
4.1.6/lib/active_support/core_ext/numeric/conversions.rb:121: warning: 
constant ::Bignum is deprecated
Exiting
/Users/*****/.rvm/gems/ruby-2.4.0/gems/activesupport-4.1.6/lib/active_support/core_ext/numeric/conversions.rb:125:in `block (2 levels) in <class:Numeric>': stack level too deep (SystemStackError)
from /Users/*****/.rvm/gems/ruby-2.4.0/gems/activesupport-4.1.6/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /Users/*****/.rvm/gems/ruby-2.4.0/gems/activesupport-4.1.6/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /Users/*****/.rvm/gems/ruby-2.4.0/gems/activesupport-4.1.6/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /Users/*****/.rvm/gems/ruby-2.4.0/gems/activesupport-4.1.6/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /Users/*****/.rvm/gems/ruby-2.4.0/gems/activesupport-4.1.6/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /Users/*****/.rvm/gems/ruby-2.4.0/gems/activesupport-4.1.6/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /Users/*****8/.rvm/gems/ruby-2.4.0/gems/activesupport-4.1.6/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /Users/*****/.rvm/gems/ruby-2.4.0/gems/activesupport-4.1.6/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
 ... 5592 levels...
from /Users/*****/.rvm/gems/ruby-2.4.0/gems/railties-4.1.6/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
from /Users/****/.rvm/gems/ruby-2.4.0/gems/railties-4.1.6/lib/rails/commands.rb:17:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'

在尝试使用brew更新计算机上的一些软件包之后,可能会发生这种情况。但是,我不确定。如果您对如何解决此问题有任何想法,请与我们联系。

0 个答案:

没有答案