Dispatch.cgi? A host better than Site5

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.

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

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

You’re welcome to email me ([email protected]) if you have Phusion
Passenger questions.

-Christian
@cupomud

On Jan 19, 2:56Â am, Michael M. [email protected] 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

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.

On Jan 19, 2:58Â pm, Michael M. [email protected] 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

See this post:

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/

–Matt J.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs