slava
January 7th, 2008, 12:11 PM
Hello,
I am having difficulties setting up a rails app on a hosted machine. I get an error
Rails application failed to start properly when I go to front page of my site.
I followed instructions from a few troubleshooting threads, but no luck yet :(
I checked dispatch.* for proper ruby line, and permissions 755, I tried running dispatch.* from shell with this result
Status: 404 Not Found
Cache-Control: no-cache
Content-Length: 606
<html>
<head>
<title>Action Controller: Exception caught</title>
<style>
body { background-color: #fff; color: #333; }
body, p, ol, ul, td {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 13px;
line-height: 18px;
}
pre {
background-color: #eee;
padding: 10px;
font-size: 11px;
}
a { color: #000; }
a:visited { color: #666; }
a:hover { color: #fff; background-color:#000; }
</style>
</head>
<body>
<h1>Routing Error</h1>
<p><pre>No route matches "" with {:method=>:get}</pre></p>
</body>
</html>
I tried script/console and got a successfull connect to db, so I know that is not the problem. fastcgi.log says
[07/Jan/2008:10:04:03 :: 20987] starting
[07/Jan/2008:10:04:03 :: 20987] stopping gracefully
not sure what else to try.. any ideas please
I am having difficulties setting up a rails app on a hosted machine. I get an error
Rails application failed to start properly when I go to front page of my site.
I followed instructions from a few troubleshooting threads, but no luck yet :(
I checked dispatch.* for proper ruby line, and permissions 755, I tried running dispatch.* from shell with this result
Status: 404 Not Found
Cache-Control: no-cache
Content-Length: 606
<html>
<head>
<title>Action Controller: Exception caught</title>
<style>
body { background-color: #fff; color: #333; }
body, p, ol, ul, td {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 13px;
line-height: 18px;
}
pre {
background-color: #eee;
padding: 10px;
font-size: 11px;
}
a { color: #000; }
a:visited { color: #666; }
a:hover { color: #fff; background-color:#000; }
</style>
</head>
<body>
<h1>Routing Error</h1>
<p><pre>No route matches "" with {:method=>:get}</pre></p>
</body>
</html>
I tried script/console and got a successfull connect to db, so I know that is not the problem. fastcgi.log says
[07/Jan/2008:10:04:03 :: 20987] starting
[07/Jan/2008:10:04:03 :: 20987] stopping gracefully
not sure what else to try.. any ideas please