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 6223773
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T08:32:50+00:00 2026-05-24T08:32:50+00:00

After install Devise I try to run **rake db:migrate** but it gives: **rake aborted!

  • 0

After install Devise I try to run

**rake db:migrate**

but it gives:

**rake aborted!
stack level too deep**

I’m on Ubuntu, changed

**ulimit -s unlimited**

and checked, it works, but still have the error.

I use RVM, tried to work out with Ruby1.9.2-p180, Ruby-1.9.2-p0, with Rails 3.0.9, Rails 3.1rc4, with Rubinius.
Tried with SQLite3 and with PostgreSQL.
Tried to uncomment as many as I can from the migration file.

Read all related Stackoverflow posts (and realized what I have is actually named StackOverflow).

Any help would be highly appriaciated! Many thanks

  • 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-05-24T08:32:51+00:00Added an answer on May 24, 2026 at 8:32 am

    stack level too deep errors typically result from infinite recursion problems.

    New Answer:

    I forgot this was occurring during db:migrate. Is something in your users table migration relying on something that would rely on it?

    Old Answer:

    It would be helpful for you to show the lines of code you have in your routes.rb file for devise. For example, you might have:

    devise_for :users, :controllers => { :registrations => "registration/foo" }
    

    In this example, take a look at the new method in foo_controller.rb. If that method redirects to another controller that causes you to attempt to register again, you will have an infinite recursion.

    The first thing I would do is look at what controllers are being called by putting some sort of debug output in your controllers. Try:

    logger.debug("i am in foo")
    

    or

    puts "i am in bar"
    

    If you can provide more information, I may be able to help more.

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

Sidebar

Related Questions

I've installed Aptana 1.5 today but after the install all my SVN projects give
I got build error after run in Snow Leopard (MacPort v.1.8.0) sudo port install
When you install a ClickOnce application, the program runs after the install. Is it
How do you automatically start a service after running an install from a Visual
I have an Eclipse RCP application that will launch properly after a clean install
After I installed Aptana (install directory: /usr/share/aptana ) I keep getting errors like this:
After recently discovering how insanely long the .net 3.5 framework was to install I
After much fiddling, I've managed to install the right ODBC driver and have successfully
I know how to autostart after boot with the BOOT_COMPLETED intent action, but I
Launching your app automatically immediately after install is suprisingly tricky. The advice that's out

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.