No way to deploy Rails applications on Apache running under Windows
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.
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”
January 22nd, 2009 | #
Maybe I’ll have better luck by using fastcgi isapi module on IIS. I’ll try it soon.
January 25th, 2009 | #