Ok here is my latest configurator block..
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)
Thanks everyone
_______________________________________________
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users