# Dispatch.cgi? A host better than Site5

**URL:** <https://www.ruby-forum.com/t/dispatch-cgi-a-host-better-than-site5/181843>\
**Category:** Rails\
**Created:** [January 19, 2010, 3:56am UTC](https://www.ruby-forum.com/t/dispatch-cgi-a-host-better-than-site5/181843 "2010-01-19T03:56:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mike343](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@mike343](https://www.ruby-forum.com/u/mike343)\
**Post date:** [January 19, 2010, 3:56am UTC](https://www.ruby-forum.com/t/dispatch-cgi-a-host-better-than-site5/181843/1 "2010-01-19T03:56:43Z")

</div>

When I type the command  
$rails app\_name

I don’t see the following list generate a dispatch.cgi or dispatch.fcgi  
file. It appears that I need this file and I need to modify it in order  
to properly deploy my site on Site5 hosting.

I have completely developed my site on my mac (my first rails app) and I  
am looking to transfer it to production. This has easily been the  
hardest part of my rails development. Does anyone suggest a really  
simple, newbie friendly host for deploying rails apps?

Also, are dispatch files only generated when generating a production  
rails app?

I am confused on this whole dispatch.cgi file.

Help would me much appreciated.

---

<div class="post-metadata">

**Author:** ![mike343](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@mike343](https://www.ruby-forum.com/u/mike343)\
**Post date:** [January 19, 2010, 4:26am UTC](https://www.ruby-forum.com/t/dispatch-cgi-a-host-better-than-site5/181843/2 "2010-01-19T04:26:56Z")

</div>

I’m hosting multiple rails apps at site5. Check out this entry on  
their wiki →   
[http://wiki.site5.com/Scripting\_and\_Development\_Guide#Ruby\_on\_Rails](http://wiki.site5.com/Scripting_and_Development_Guide#Ruby_on_Rails)

While fcgi should work - Phusion Passenger is the preferred config.

You’re welcome to email me (removed\_email\_address@domain.invalid) if you have Phusion  
Passenger questions.

-Christian  
@cupomud

---

<div class="post-metadata">

**Author:** ![mike343](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@mike343](https://www.ruby-forum.com/u/mike343)\
**Post date:** [January 19, 2010, 1:57pm UTC](https://www.ruby-forum.com/t/dispatch-cgi-a-host-better-than-site5/181843/3 "2010-01-19T13:57:39Z")

</div>

On Jan 19, 2:56Â am, Michael M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I have completely developed my site on my mac (my first rails app) and I  
> am looking to transfer it to production. Â This has easily been the  
> hardest part of my rails development. Â Does anyone suggest a really  
> simple, newbie friendly host for deploying rails apps?
> 
> Also, are dispatch files only generated when generating a production  
> rails app?

I think rails stopped generating dispatch.cgi/fcgi files in 2.3

Fred

---

<div class="post-metadata">

**Author:** ![mike343](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@mike343](https://www.ruby-forum.com/u/mike343)\
**Post date:** [January 19, 2010, 3:58pm UTC](https://www.ruby-forum.com/t/dispatch-cgi-a-host-better-than-site5/181843/4 "2010-01-19T15:58:55Z")

</div>

Frederick C. wrote:

> I think rails stopped generating dispatch.cgi/fcgi files in 2.3
> 
> Fred

This is what I thought. Which then leaves me confused as the proper way  
to launch my site on the Site5 server.

---

<div class="post-metadata">

**Author:** ![mike343](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@mike343](https://www.ruby-forum.com/u/mike343)\
**Post date:** [January 19, 2010, 4:08pm UTC](https://www.ruby-forum.com/t/dispatch-cgi-a-host-better-than-site5/181843/5 "2010-01-19T16:08:47Z")

</div>

On Jan 19, 2:58Â pm, Michael M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Frederick C. wrote:
> 
> > I think rails stopped generating dispatch.cgi/fcgi files in 2.3
> 
> > Fred
> 
> This is what I thought. Â Which then leaves me confused as the proper way  
> to launch my site on the Site5 server.

They might still work if they were there - you could fish them out of  
an old version of rails. If, as the link supplied by Christian  
suggests, they support passenger you’re far better off using that.

Fred

---

<div class="post-metadata">

**Author:** ![mike343](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@mike343](https://www.ruby-forum.com/u/mike343)\
**Post date:** [January 19, 2010, 4:54pm UTC](https://www.ruby-forum.com/t/dispatch-cgi-a-host-better-than-site5/181843/6 "2010-01-19T16:54:27Z")

</div>

See this post:

[http://www.site5.com/blog/s5/site5-phusion/20090402/](http://www.site5.com/blog/s5/site5-phusion/20090402/)

and also this post:

[http://www.site5.com/blog/programming/changes-with-phusion-passenger-update/20090804/](http://www.site5.com/blog/programming/changes-with-phusion-passenger-update/20090804/)

–Matt J.
