[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Running Ruby on Windows

Vince Panuccio

10/15/2006 10:07:00 AM

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 :)

6 Answers

Firman Wandayandi

10/15/2006 3:10:00 PM

0

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?
>

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

Regards,
--
Firman Wandayandi <http://firman...

David Vallner

10/15/2006 4:18:00 PM

0

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

Jano Svitok

10/15/2006 5:06:00 PM

0

On 10/15/06, David Vallner <david@vallner.net> wrote:
> 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.

> 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.)

futago

10/15/2006 6:05:00 PM

0

> 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/introducin...

--
Posted via http://www.ruby-....

M. Edward (Ed) Borasky

10/15/2006 6:57:00 PM

0

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 :)

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!

Ezra Zygmuntowicz

10/15/2006 7:25:00 PM

0


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/introducin...
>
> --
> Posted via http://www.ruby-....
>

http://brainspl.at/articles/2006/10/15/merb-gets-cool-routes...
uploads ;)


Cheers-

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