Re: What to do about 500 errors and "Application Error - Rails app failed"

If you are in development, try clearing out the sessions entirely. I wonder if something is corrupted. I don't know what else it could be, sorry.

Railscasts - Free Ruby on Rails Screencasts

Re: What to do about 500 errors and "Application Error - Rails app failed"

I'm not in development, but still, I moved away the 24000 session files from the RAILS_ROOT/tmp/sessions folder to start fresh.
tried to login with these two malicious user. same problem.

Re: What to do about 500 errors and "Application Error - Rails app failed"

Oh my god, its been some time, but anyway... If I remember correctly, I switch to MySQL sessions and it fixes the problem. it's weird there is a size problem with filesystem storage method. must be a bug.

Re: What to do about 500 errors and "Application Error - Rails app failed"

I've also had this error when i accidentally ran script/server as an ordinary user on my debian dev box, rather than as root. 

Took me 2 hrs to work out why I wasn't getting a more helpfull error message when I thought I was running in dev mode!

Re: What to do about 500 errors and "Application Error - Rails app failed"

I'm hosting with Dreamhost and will occasionally get the "Application Error - Rails app failed to start" message, but when I hit refresh it will load fine.

I assume this is something to do with the .htaccess file or fast CGI. Has anyone else experienced this?

Re: What to do about 500 errors and "Application Error - Rails app failed"

That's grate!!!