[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Re: Web Ruby w/o Rails

James Britt

6/24/2007 1:38:00 AM

???? ?????? / Emil Ivanov wrote:
> Hi,
>
> I want to start developing a web application in Ruby, but can't
> configure it
> to work. There are so much options that I get confused :)
> eruby, mod_ruby (which I think, but unsure, is depreciated), cgi,
> fastcgi...
>
> I can't get the simple "hello world" :(

Take a look at Nitro.

Here's a Web "app" in a Ruby one-liner:


$ ruby -rubygems -e "require 'nitro'; class C; def index; print 'Hello, world!';end;end; Nitro.start(C)"

Browse to 127.0.0.1:9000 to see the results.

How simple or complex you want your app to be is up to you.

See http://nitropr...



--
James Britt