List Info

Thread: easy use without run.rb




easy use without run.rb
user name
2006-12-02 17:57:30
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.
_______________________________________________
Nitro-general mailing list
Nitro-generalrubyforge.org
h
ttp://rubyforge.org/mailman/listinfo/nitro-general
easy use without run.rb
user name
2006-12-02 18:34:46
Sorry.
Maybe a darcs-generated patch is better ?
Here it is.

Noé Rubinstein

2006/12/2, Noé Rubinstein <noe.rubinsteingmail.com>:
> 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.
>
>
>
_______________________________________________
Nitro-general mailing list
Nitro-generalrubyforge.org
h
ttp://rubyforge.org/mailman/listinfo/nitro-general
easy use without run.rb
user name
2006-12-03 09:38:21
thanks,
-g.

On 12/2/06, Noé Rubinstein <noe.rubinsteingmail.com> wrote:
> Sorry.
> Maybe a darcs-generated patch is better ?
> Here it is.
>
> Noé Rubinstein
>
> 2006/12/2, Noé Rubinstein <noe.rubinsteingmail.com>:
> > 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.
> >
> >
> >
>
> _______________________________________________
> Nitro-general mailing list
> Nitro-generalrubyforge.org
> h
ttp://rubyforge.org/mailman/listinfo/nitro-general
>
>
>


-- 
http://blog.gmosx.com
http://nitroproject.org
_______________________________________________
Nitro-general mailing list
Nitro-generalrubyforge.org
h
ttp://rubyforge.org/mailman/listinfo/nitro-general
easy use without run.rb
user name
2006-12-03 09:39:25
better do this:

darcs send -o bundle
tar cvfj bundle.tgz bundle

and email the bundle.tgz file to the list (add [PATCH] to
the subject
of the email)

thanks,
George.

On 12/2/06, Noé Rubinstein <noe.rubinsteingmail.com> wrote:
> Sorry.
> Maybe a darcs-generated patch is better ?
> Here it is.
>
> Noé Rubinstein
>
> 2006/12/2, Noé Rubinstein <noe.rubinsteingmail.com>:
> > 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.
> >
> >
> >
>
> _______________________________________________
> Nitro-general mailing list
> Nitro-generalrubyforge.org
> h
ttp://rubyforge.org/mailman/listinfo/nitro-general
>
>
>


-- 
http://blog.gmosx.com
http://nitroproject.org
_______________________________________________
Nitro-general mailing list
Nitro-generalrubyforge.org
h
ttp://rubyforge.org/mailman/listinfo/nitro-general
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )