Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Running Ruby on Windows

Reply
Thread Tools

Running Ruby on Windows

 
 
Sir Psycho
Guest
Posts: n/a
 
      10-15-2006
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

 
Reply With Quote
 
 
 
 
Firman Wandayandi
Guest
Posts: n/a
 
      10-15-2006
On 10/15/06, Sir Psycho <> 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/node/3094

Regards,
--
Firman Wandayandi <http://firmanw.org/>

 
Reply With Quote
 
 
 
 
David Vallner
Guest
Posts: n/a
 
      10-15-2006
--------------enigEA59374E65BCD84C0259DAF6
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

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


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


--------------enigEA59374E65BCD84C0259DAF6
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)

iD8DBQFFMl9Hy6MhrS8astoRAoChAJsFH9KOjWs945Za2DOXIv Tz8HUHyACfcO35
GjFb7ihadLcohmDnJ2G+GO4=
=NL2T
-----END PGP SIGNATURE-----

--------------enigEA59374E65BCD84C0259DAF6--

 
Reply With Quote
 
Jan Svitok
Guest
Posts: n/a
 
      10-15-2006
On 10/15/06, David Vallner <> 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.)


 
Reply With Quote
 
Nathan Grant
Guest
Posts: n/a
 
      10-15-2006
> 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/...ucing-the-merb

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

 
Reply With Quote
 
M. Edward (Ed) Borasky
Guest
Posts: n/a
 
      10-15-2006
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!

 
Reply With Quote
 
Ezra Zygmuntowicz
Guest
Posts: n/a
 
      10-15-2006

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/...ucing-the-merb
>
> --
> Posted via http://www.ruby-forum.com/.
>


http://brainspl.at/articles/2006/10/...utes-and-file-
uploads


Cheers-

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



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Warning when running sqlite3 with Ruby on Windows Eli Bendersky Ruby 3 01-31-2008 10:30 PM
Running windows ruby, and watir under wine on linux? Ezra Zygmuntowicz Ruby 4 07-11-2006 08:41 PM
#!/usr/bin/ruby , #!/usr/bin/ruby -w , #!/usr/bin/ruby -T?, #!/usr/bin/ruby -T1... anne001 Ruby 1 04-23-2006 03:02 PM
running ruby programs on a windows xp computer julian Ruby 8 04-03-2006 02:12 PM
Ruby/Java Bridge running on Windows Dema Ruby 2 06-20-2005 07:22 AM



Advertisments