Anyone have any luck with eruby on Windows?

Z

Zach Dennis

I've read through the talk's archives quite a bit and there seems to have
been some interest in eruby and mod_ruby on windows and several suggestions
of how to get eruby to work. I am having the same 'premature header' issues
that most were having with eruby. Through all of the talk no one ever said
that they had gotten it to work in the end. I have tried all of the
suggestions I have seen and it still does not work for me. Has anyone
successfully implemented eruby (or mod_ruby) under a win32 environment, not
using cygwin?

I also went to www.ruby-ide.com to run the Arachno IDE for ruby that
supposively installed it on Windows, but I was told to come back at the end
of year when the BETA release is done. I can't wait that long. I am willing
to move my Apache to cygwin, but I will avoid at all costs due to some
requirements and limitations of my project.

TIA

-Z
 
C

Carl Youngblood

Zach said:
I've read through the talk's archives quite a bit and there seems to have
been some interest in eruby and mod_ruby on windows and several suggestions
of how to get eruby to work. I am having the same 'premature header' issues
that most were having with eruby. Through all of the talk no one ever said
that they had gotten it to work in the end. I have tried all of the
suggestions I have seen and it still does not work for me. Has anyone
successfully implemented eruby (or mod_ruby) under a win32 environment, not
using cygwin?

Ara Howard has converted me to the benefits of fastcgi for Ruby. It's
much faster than even mod_ruby and it is easier to implement on a wide
variety of systems. I'm pretty sure you can get fastcgi to interface
with Ruby on Windows, though it is somewhat difficult. I was able to
compile fastcgi support into Apache on Windows but finally decided to
stop kicking against the pricks and develop on linux, since all my apps
are deployed in a unix-based environment anyways and I was spending more
time trying to set things up than I was developing software. Although I
do very much agree that if we had easier windows solutions it would do a
lot for promoting ruby.

Carl Youngblood
 
D

David Garamond

Carl said:
Ara Howard has converted me to the benefits of fastcgi for Ruby. It's
much faster than even mod_ruby and it is easier to implement on a wide
variety of systems. I'm pretty sure you can get fastcgi to interface
with Ruby on Windows, though it is somewhat difficult. I was able to
compile fastcgi support into Apache on Windows but finally decided to
stop kicking against the pricks and develop on linux, since all my apps
are deployed in a unix-based environment anyways and I was spending more
time trying to set things up than I was developing software. Although I
do very much agree that if we had easier windows solutions it would do a
lot for promoting ruby.

Carl Youngblood

Another note on FastCGI: the great thing about FastCGI is that it's
compatible with the CGI interface. If you are having difficulty getting
mod_fastcgi to work on Windows, you can test your program using normal
CGI. And then when the program is deployed, be amazed by the 100x speed
increase! (Okay, not always 100x, but... :)

The bad thing about FastCGI is also that it's compatible with CGI
interface. Meaning you can't do stuffs that are beyond CGI (mucking
around server's internals, for one). But for many applications, CGI is
enough.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,533
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top