Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9321761
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 19, 20262026-06-19T03:55:23+00:00 2026-06-19T03:55:23+00:00

I only get this error in Development Environtment after editing some code (any code)

  • 0

I only get this error in Development Environtment after editing some code (any code) and press Refresh to see the changes.

Everytime this happens it raises an error says “Stack Level Too Deep” then when I refresh the page it agains raise “Routing Error“. Then I cannot browse any page until I restart the server.

I will have to stop Rails server then start it again, then it works until I make changes to the code again.

I tried several methods including increase ulimit “ulimit -s” command, but it didn’t solve the problem. I searched that this is related to infinite loops but in my case it has nothing to do with the code because the error disappears after I restart the server.

Any clues or solutions would be highly appreciated. Thanks.

Edited: add routes.rb and stack trace

Routes: http://pastebin.com/YzXyUH35

Stack Trace:

SystemStackError (stack level too deep):
  actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:70


  Rendered /Users/duy/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
  Rendered /Users/duy/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
  Rendered /Users/duy/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (19.9ms)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-19T03:55:25+00:00Added an answer on June 19, 2026 at 3:55 am

    There was a bug in devise_inviable gem that caused the problem I got. I found the answer here helps solve my problem rails 3 routes stack level too deep devise

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I get this wired error only when I try to access the web page
I get this cryptic error the first time (and only the first time) my
I only get this warning if I import my helper class (#import JLHelper.h). An
document.onkeydown.toString() returns onkeydown function but I only want to get this function's name. Is
How do I get this function to not only run on window resize but
I'm trying to use this to create a splash screen, but I only get
How can I get all this to not only output on the screen, but
I want to use this SQL query to get only the records between 8
i have text like this div bla-bla end div i need to get only
When running 'heroku run rake' I get this error: no such file to load

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.