# Rails application failed to start properly

**URL:** <https://www.ruby-forum.com/t/rails-application-failed-to-start-properly/73934>\
**Category:** Rails\
**Created:** [October 28, 2006, 5:54am UTC](https://www.ruby-forum.com/t/rails-application-failed-to-start-properly/73934 "2006-10-28T05:54:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stewart](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/90db22/32.png) [@Stewart](https://www.ruby-forum.com/u/Stewart)\
**Post date:** [October 28, 2006, 5:54am UTC](https://www.ruby-forum.com/t/rails-application-failed-to-start-properly/73934/1 "2006-10-28T05:54:07Z")

</div>

Hi

I have just uploaded a site from my pc to a railsplayground server.  
Everthing was working fine on my pc when i uploaded the site however  
that its on the remote server i get

Application error  
Rails application failed to start properly

Heres what i have done

1. Created an app on the Railsplayground server
2. Cleared out that app folder.
3. Uploaded my app in its place.
4. Created my db
5. Set up the my YML files
6. Run migration

Is there something i have missed?

Thanks for any help in advance…

Google has been unable to provide an answer thus far and i am getting  
kind of desprate

---

<div class="post-metadata">

**Author:** ![Stewart](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/90db22/32.png) [@Stewart](https://www.ruby-forum.com/u/Stewart)\
**Post date:** [October 28, 2006, 6:19am UTC](https://www.ruby-forum.com/t/rails-application-failed-to-start-properly/73934/2 "2006-10-28T06:19:00Z")

</div>

On 10/27/06, Stewart [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 1. Cleared out that app folder.
> 2. Uploaded my app in its place.
> 3. Created my db
> 4. Set up the my YML files
> 5. Run migration

What is in your log files?

---

<div class="post-metadata">

**Author:** ![Stewart](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/90db22/32.png) [@Stewart](https://www.ruby-forum.com/u/Stewart)\
**Post date:** [October 28, 2006, 6:28am UTC](https://www.ruby-forum.com/t/rails-application-failed-to-start-properly/73934/3 "2006-10-28T06:28:00Z")

</div>

JDL wrote:

> On 10/27/06, Stewart [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > 1. Cleared out that app folder.
> > 2. Uploaded my app in its place.
> > 3. Created my db
> > 4. Set up the my YML files
> > 5. Run migration
> 
> What is in your log files?

okay, you’ll have to excuse my ignorance here are you referring to the  
rails log or the Apache log?

I am 99% sure that this error is not being written to the rails log as I  
just checked it then. I am also not sure how I would go about  
retrieving my Apache log if that’s in fact what you are referring to.

Do you mean the Apache log?

---

<div class="post-metadata">

**Author:** ![Stewart](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/90db22/32.png) [@Stewart](https://www.ruby-forum.com/u/Stewart)\
**Post date:** [October 28, 2006, 12:47pm UTC](https://www.ruby-forum.com/t/rails-application-failed-to-start-properly/73934/4 "2006-10-28T12:47:58Z")

</div>

Either log file could provide clues.  
In the past i’ve had problems like this caused by things like not being  
able to write to tmp/sessions (In my particular case that was because  
the files/folders were owned by me, but the rails app was being run by  
apache), or by the sessions folder containing old sessions that rails  
couldn’t unserialize

Fred

---

<div class="post-metadata">

**Author:** ![Stewart](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/90db22/32.png) [@Stewart](https://www.ruby-forum.com/u/Stewart)\
**Post date:** [October 28, 2006, 4:31pm UTC](https://www.ruby-forum.com/t/rails-application-failed-to-start-properly/73934/5 "2006-10-28T16:31:13Z")

</div>

Fred wrote:

> Either log file could provide clues.  
> In the past i’ve had problems like this caused by things like not being  
> able to write to tmp/sessions (In my particular case that was because  
> the files/folders were owned by me, but the rails app was being run by  
> apache), or by the sessions folder containing old sessions that rails  
> couldn’t unserialize
> 
> Fred

Thanks for your posts I was able to work out that it was my shebang line  
and some permissions where off as well
