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
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: Web Ruby w/o Rails
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password