[Nitro] [Patch] easy use without run.rb

Noé Rubinstein noe.rubinstein at gmail.com
Sat Dec 2 12:57:30 EST 2006


coi rodo

I thought it would be better than, if no run.rb (nor any
application_file) is found, Nitro just set the templates dir to "."
and ran Nitro.start, possibly generating a run.rb.
This makes ultra-easy the use of Nitro like a PHP-and-co. And "hello
world" is even simpler (echo hello world > index.html ; nitro )

Here is a quick patch. Maybe not the better way to implement it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 764 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20061202/9a633e57/attachment.bin 


More information about the Nitro-general mailing list