Every time I change my routes. rb I get a "too high stack level" on every first request, and then get a "routing error" until I restart my development server. After a restart, everything works like a charm.
The trace says the following:
SystemStackError (stack level too deep): actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:70 Rendered /Users/timo/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /Users/timo/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /Users/timo/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (15.6ms)
Unfortunately, I cannot return when this problem occurs, followed by updating or changing the code or so on. All I know has happened lately, and it happened with rails 3.2.8 and mri 1.9.3-p125, which I updated to rails 3.2.9 and mri 1.9.3-p327 without effect.
This is actually only annoying (how it works after a restart), but help is still appreciated!
source share