Running Ruby on Windows

Hi,

If mod_ruby is only available for *nix systems, how can I code ruby
scripts into HTML files without using rails? Does webrick still work?

It also seems that eRuby no longer exists so how would apache be set up
to handle embedded rubY?

thanks :slight_smile:

You can run it via CGI method. I just found the article here:
http://www.hiveminds.co.uk/node/3094

Regards,

路路路

On 10/15/06, Sir Psycho <totalharmonicdistortion@hotmail.com> wrote:

It also seems that eRuby no longer exists so how would apache be set up
to handle embedded rubY?

--
Firman Wandayandi <http://firmanw.org/&gt;

Sir Psycho wrote:

If mod_ruby is only available for *nix systems, how can I code ruby
scripts into HTML files without using rails? Does webrick still work?

Webrick works happily, I thought.

Alternately, gang up Apache with Mongrel for more speed? (I'd avoid
lighttpd since I don't trust that Cygwin doesn't do Cruel and Unusual
things to IO performance.)

David Vallner

Sir Psycho wrote:

Hi,

If mod_ruby is only available for *nix systems, how can I code ruby
scripts into HTML files without using rails? Does webrick still work?

It also seems that eRuby no longer exists so how would apache be set up
to handle embedded rubY?

thanks :slight_smile:

I'm not sure what you're trying to do with Ruby, but what you describe
is mere inches away from "Instant Rails", so I'd download that and start
experimenting!

Sir Psycho wrote:
> If mod_ruby is only available for *nix systems, how can I code ruby
> scripts into HTML files without using rails? Does webrick still work?
>

Webrick works happily, I thought.

Right. Either use Webrick's cgi handler - there was a thread on this a
few weeks ago - or write a special handler. The same should be
possible with Mongrel.

路路路

On 10/15/06, David Vallner <david@vallner.net> wrote:

Alternately, gang up Apache with Mongrel for more speed? (I'd avoid
lighttpd since I don't trust that Cygwin doesn't do Cruel and Unusual
things to IO performance.)

The same should be possible with Mongrel.

You may want to check out Ezra's latest project [1], it looks quite
promising.
It's called Merb (Merb == Mongrel + Erb)

Nathan

[1] http://brainspl.at/articles/2006/10/09/introducing-the-merb

路路路

--
Posted via http://www.ruby-forum.com/\.

http://brainspl.at/articles/2006/10/15/merb-gets-cool-routes-and-file-uploads :wink:

Cheers-

-- Ezra Zygmuntowicz-- Lead Rails Architect
-- ez@engineyard.com
-- Engine Yard, Serious Rails Hosting
-- Reliability, Ease of Use, Scalability
-- (866) 518-YARD (9273)

路路路

On Oct 15, 2006, at 11:04 AM, Nathan Grant wrote:

The same should be possible with Mongrel.

You may want to check out Ezra's latest project [1], it looks quite
promising.
It's called Merb (Merb == Mongrel + Erb)

Nathan

[1] http://brainspl.at/articles/2006/10/09/introducing-the-merb

-- Posted via http://www.ruby-forum.com/\.