当我运行“rails s”时,我得到“堆栈级太深(SystemStackError)”

时间:2015-12-25 02:05:04

标签: ruby-on-rails ruby-on-rails-4

在我尝试将此应用程序部署到heroku后,似乎已经出现此问题

这是我运行铁路服务器时遇到的整个错误。非常感谢任何帮助。

PrideCoding:autosales elyseemontissol$ rails s
=> Booting WEBrick
=> Rails 4.2.1 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
Exiting
/Users/elyseemontissol/autosales/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:744:in `log_call': stack level too deep (SystemStackError)
    from /Users/elyseemontissol/autosales/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:476:in `load_missing_constant'
    from /Users/elyseemontissol/autosales/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:184:in `const_missing'
    from /Users/elyseemontissol/autosales/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/inflector/methods.rb:261:in `block in constantize'
    from /Users/elyseemontissol/autosales/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/inflector/methods.rb:259:in `each'
    from /Users/elyseemontissol/autosales/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/inflector/methods.rb:259:in `inject'
    from /Users/elyseemontissol/autosales/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/inflector/methods.rb:259:in `constantize'
    from /Users/elyseemontissol/autosales/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:478:in `load_missing_constant'
    from /Users/elyseemontissol/autosales/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:184:in `const_missing'
     ... 7345 levels...
    from /Users/elyseemontissol/autosales/vendor/bundle/ruby/2.2.0/gems/railties-4.2.1/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
    from /Users/elyseemontissol/autosales/vendor/bundle/ruby/2.2.0/gems/railties-4.2.1/lib/rails/commands.rb:17:in `<top (required)>'
    from bin/rails:4:in `require'
    from bin/rails:4:in `<main>'
PrideCoding:autosales elyseemontissol$ 

0 个答案:

没有答案