Rails + Errors + FastGI == Bad
January 24th, 2007
One way to generate a lot of “500 – Application Failed” errors in Ruby on Rails applications running on Dreamhost is by throwing a lot of errors. Right now my newly downloaded Typo (supposedly the most recent stable version) is throwing some errors and this is, in part, causing RubyNoob to keep going down.
I’m investigating this to see what I can figure out. My advice is, if you’re running Rails on Dreamhost and you keep getting application failure errors, the first place to look is your production.log file. Make sure to clear up all errors first.
I’ll talk about what else you can do once I get RubyNoob a bit more stable.
July 10th, 2007 at 04:06 PM
I had the same problem on dreamhost. It was caused by some puts statements in my page. They crash FastCGI, so make sure you all replaced them with logger calls.
July 11th, 2007 at 09:39 AM
Thanks J.F. I don’t have any puts statements in my views, but I can see how that might cause problems. My sites are finally working ok because I’ve made sure that I’ve taken out all of the errors. knock on wood