[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Anyone have any luck with eruby on Windows?

Zach Dennis

9/28/2003 5:46:00 PM

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



2 Answers

Carl Youngblood

9/29/2003 1:43:00 AM

0

Zach Dennis wrote:
> 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

David Garamond

9/29/2003 9:22:00 PM

0

Carl Youngblood wrote:
> 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.

--
dave