Eden,
That is from the rubyamf project: http://rubyamf.org/. It enables
Actionscript objects to flow freely from within Ruby to Flash/Flex. The
latest version has a Mongrel servlet. Prett cool if you ask me!
- Michael
On 6/26/07, Eden Li <[EMAIL PROTECTED]> wrote:
If I read the docs correctly, after you call #daemonize, you can just
exit the script. You don't need the `config.run.join` step. Maybe
move that into an else clause after the OPTIONS[:daemon] check.
BTW, where did you get RUBYAMF::MongrelServlet?
On 6/27/07, aaron smith <[EMAIL PROTECTED]> wrote:
> > config = Mongrel::Configurator.new(:host => OPTIONS[:ip]) do
> > #debug('/gateway.rb',[:access,:threads])
> > listener :port => OPTIONS[:port] do
> > uri("/gateway.rb", :handler => RUBYAMF::MongrelServlet.new,
> :num_processors => OPTIONS[:processes])
> > end
> > end
> >
> > if OPTIONS[:daemon]
> > config.daemonize(:log_file =>
> '../../rubyamf_core/logs/mongrel.log')
> > end
> >
> > config.run.join
> >
> > I get one error:
> >
> usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1
/lib/mongrel/configurator.rb:182:in
> `join': can't convert nil into String (TypeError)
_______________________________________________
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users
_______________________________________________
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users