Rails works, but not my application

apps

#1

hi;

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?

thanks!

-s


#2

$ tail -f ./logs/production.log

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


#3

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.


#4

Hi,

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 118.102.161.162] 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 118.102.161.162] FastCGI: incomplete headers (0 bytes) received from server “/home/nge_ne/domainname/public/dispatch.fcgi”

Please help me how to fix the issue.