Ruby on Rails Wednesday, March 28, 2012

Using FastCGI to run your Rails application has been more or less
abandoned. As another poster said, your best bet is to probably get
up and running on Heroku. If you can't do that, you'll want to look
at installing Passenger (AKA mod_rails).

A web host that is suggesting that you use FastCGI to serve your Rails
apps in 2012 is wasting your time.

On Mar 27, 2:25 pm, ja <joaodiasafo...@gmail.com> wrote:
> Good evening.
> I've consulted wikis, old threads, forums, everything, in order to
> understand/find a way to deploy RoR with minimum effort.
> I've developed it using WebBrick to check functionality; now I want to
> deploy it in a net apache server (using plesk) which I am client of.
> It seems plesk supports Ruby, and I just need to click on a "fastCGI"
> checkbox to have such support.
> Considering Ruby and Rails are installed and running properly in
> server, how to deploy the app? Why doesn't a simple copy/paste work
> (it is always wanted a known repository)? What changes should be made
> in code side? There are some differente alternatives in Ruby site, but
> always forcing some configs on server side. Without make any changes
> in server, what is the proper way of doing it?
> I am always getting these errors:
> [Tue Mar 23 12:56:33 2012] [warn] [client xxxxx] (104)Connection reset
> by peer: mod_fcgid: error reading data from FastCGI server
> [Tue Mar 23 12:56:33 2012] [error] [client xxxxx] Premature end of
> script headers: dispatch.fcgi
> which seems not detailed enough to understand what to do next. Some
> say it's RoR missing gems, others say it's because of file
> permissions, also .htaccess hidden file overriding the proper one...
> I've checked and tested most of it without success.
> Any hint?
> Thanks in advance.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment