Here''s my config: :debug: false :daemon: true - mongrel :log_file: log/mongrel.log :pid_file: log/mongrel.pid :environment: development And I start Mongrel with: mongrel_rails -C config/mongrel.yml It starts up fine, and creates and logs to the log file, but I haven''t seen it create a pid file yet. Any idea why? BTW, why does Mongrel generate a config with vars like :var: rather than just the typical var: ? Thanks, Joe __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Hey Joe, that''s fixed in the 0.3.13.4 release, try it out with: sudo gem install mongrel --source=http://mongrel.rubyforge.org/releases/ Zed On Sun, 2006-08-27 at 11:53 -0700, joe d wrote: <snip>> > It starts up fine, and creates and logs to the log > file, but I haven''t seen it create a pid file yet. Any > idea why? > > BTW, why does Mongrel generate a config with vars like > :var: rather than just the typical var: ?That''s YAML. The :var: is a symbol :var followed by the : for the YAML hash. That''s also why I wrote the -G (generate) command so it''ll make one for you from the command line options you pass. -- Zed A. Shaw http://www.zedshaw.com/ http://mongrel.rubyforge.org/ http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.
Hey Zed, Cool, thanks. I just tried it and the pid file shows up in log/ (it takes a few seconds). Joe ------------------------------------- Hey Joe, that''s fixed in the 0.3.13.4 release, try it out with: sudo gem install mongrel --source=http://mongrel.rubyforge.org/releases/ Zed On Sun, 2006-08-27 at 11:53 -0700, joe d wrote: <snip>> > It starts up fine, and creates and logs to the log > file, but I haven''t seen it create a pid file yet.Any> idea why? > > BTW, why does Mongrel generate a config with varslike> :var: rather than just the typical var: ?That''s YAML. The :var: is a symbol :var followed by the : for the YAML hash. That''s also why I wrote the -G (generate) command so it''ll make one for you from the command line options you pass. -- Zed A. Shaw http://www.zedshaw.com/ http://mongrel.rubyforge.org/ http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com