How can I get more information from an error like this?
=> Booting WEBrick
=> Rails 3.1.1 application starting in production on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
script/rails:6: stack level too deep (SystemStackError)
The error was only occurring in production.
When changing settings inside
config/environments/production.rb, I found that settingconfig.cache_classes = falselet me boot the app in production. Upon reviewing the commit I found the offending class.I had created a model called
Objectwhich seemed to have interfered with the way caching works, likely overwriting a core rubyObjectclass.