No way to deploy Rails applications on Apache running under Windows

Posted by – January 20, 2009

After few days trying to run a rails application under apache with “help” of fastcgi module and without any success I’m finally giving up this idea, the reason is simple, I just can’t compile a c code used by fastcgi binding for ruby because of some missing header files and compiler support.

I tried to get the same application running on apache without fastcgi module but it is too sloooow.

The truth is, you can develop rails applications on windows, but please, don’t try to run this applications on apache with fastcgi support, you will waste you time.

To be honest, I don’t have the same problem when running Rails applications on top of JRuby since I can deploy these applications on any servlet container like Tomcat or Jetty.

Share

2 Comments on No way to deploy Rails applications on Apache running under Windows

  1. rogerio says:

    After install the ruby installer available here the fcgi error gone, but now I’m getting a new error on apache log:

    “(OS 109)The pipe has been ended. : FastCGI: comm with server “C:/Rogerio/projetos/ruby/cadastro/public/dispatch.fcgi” aborted: GetOverlappedResult() failed”

  2. rogerio says:

    Maybe I’ll have better luck by using fastcgi isapi module on IIS. I’ll try it soon.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>