# Application Error

**URL:** <https://discuss.rubyonrails.org/t/application-error/3989>\
**Category:** rubyonrails-talk\
**Created:** [November 3, 2006, 3:56pm UTC](https://discuss.rubyonrails.org/t/application-error/3989 "2006-11-03T15:56:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew\_Stone](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@Andrew\_Stone](https://discuss.rubyonrails.org/u/Andrew_Stone)\
**Post date:** [November 3, 2006, 3:56pm UTC](https://discuss.rubyonrails.org/t/application-error/3989/1 "2006-11-03T15:56:32Z")

</div>

Check the shebang line in the dispatch.cgi (.fcgi) and make sure it points to the correct location. A common location is

#!/usr/local/bin/ruby

This will give you the “failed to start…” error.

If you’re running linux can do “which ruby” on the command line to get the location.

good luck, andy
