# Application error Rails application failed to start properly"

**URL:** <https://discuss.rubyonrails.org/t/application-error-rails-application-failed-to-start-properly/23264>\
**Category:** rubyonrails-talk\
**Created:** [January 15, 2008, 5:11pm UTC](https://discuss.rubyonrails.org/t/application-error-rails-application-failed-to-start-properly/23264 "2008-01-15T17:11:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![slava1](https://avatars.discourse-cdn.com/v4/letter/s/c67d28/32.png) [@slava1](https://discuss.rubyonrails.org/u/slava1)\
**Post date:** [January 15, 2008, 5:11pm UTC](https://discuss.rubyonrails.org/t/application-error-rails-application-failed-to-start-properly/23264/1 "2008-01-15T17:11:21Z")

</div>

I've been strugling for days trying to resolve this issue installing a rails project on a hosted server. I keep getting Application error Rails application failed to start properly" when I go to front page of my site. I followed instructions on this thread [http://wiki.ocssolutions.com/Troubleshooting\_a\_Ruby\_on\_Rails\_Application](http://wiki.ocssolutions.com/Troubleshooting_a_Ruby_on_Rails_Application) and still no luck I checked dispatch.\* for proper ruby line, and permissions 755, I tried running dispatch.\* from shell with this result Code:

Status: 404 Not Found Cache-Control: no-cache Content-Length: 606

\<html\> \<head\> &nbsp;&nbsp;\<title\>Action Controller: Exception caught\</title\> &nbsp;&nbsp;\<style\> &nbsp;&nbsp;&nbsp;&nbsp;body { background-color: #fff; color: #333; }

&nbsp;&nbsp;&nbsp;&nbsp;body, p, ol, ul, td { &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;font-family: verdana, arial, helvetica, sans-serif; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;font-size: 13px; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;line-height: 18px; &nbsp;&nbsp;&nbsp;&nbsp;}

&nbsp;&nbsp;&nbsp;&nbsp;pre { &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background-color: #eee; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;padding: 10px; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;font-size: 11px; &nbsp;&nbsp;&nbsp;&nbsp;}

&nbsp;&nbsp;&nbsp;&nbsp;a { color: #000; } &nbsp;&nbsp;\</style\> \</head\> \<body\>

\<h1\>Routing Error\</h1\> \<p\>\<pre\>No route matches &quot;&quot; with {:method=&gt;:get}\</pre\>\</

> 

\</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 Reply With Quote

---

<div class="post-metadata">

**Author:** ![Greg\_Donald1](https://sea2.discourse-cdn.com/rubyonrails/user_avatar/discuss.rubyonrails.org/greg_donald1/32/1313_2.png) [@Greg\_Donald1](https://discuss.rubyonrails.org/u/Greg_Donald1)\
**Post date:** [January 15, 2008, 5:41pm UTC](https://discuss.rubyonrails.org/t/application-error-rails-application-failed-to-start-properly/23264/2 "2008-01-15T17:41:18Z")

</div>

You need to modify config/routes.rb and add a default route.

I used to host with OCS, email them, they will help you. Unlike a lot of other Rails hosts they actually develop Rails apps, so they know a lot about it.
