Rails works, but not my application




I’ve brought over a rails application from another DH account, followed the instructions in the wiki… I can get the “Welcome Aboard!” index page no problem, but the application server can’t seem to find any of my controllers.

Where can I start looking to troubleshoot this problem?




$ tail -f ./logs/production.log

re-run the request, then paste the log message here.


I have similar problems with routing. It appears DH has different package versions than what I’m using.

“rake rails:freeze:gems” is supposed to fix that, but it simply removes the directory in svn locally, such that deployment doesn’t solve the problem.



I have given this command "rake rails:freeze:gems in Rails application folder
rake aborted!
Don’t know how to build task ‘rails:freeze:gems’

(See full trace by running task with --trace)

While accessing the www.domain/public, I am getting application error

Application error
Rails application failed to start properly

But accessing the www.domain, I am getting listing the content.

Also checked the error log file this

[Wed Jan 05 20:39:15 2011] [error] [client] FastCGI: comm with (dynamic) server “/home/nge_ne/domainname/public/dispatch.fcgi” aborted: (first read) idle timeout (60 sec)
[Wed Jan 05 20:39:15 2011] [error] [client] FastCGI: incomplete headers (0 bytes) received from server “/home/nge_ne/domainname/public/dispatch.fcgi”

Please help me how to fix the issue.