[Mongrel] mongrel_rails: bug in -C handling?
zedshaw at zedshaw.com
Wed Jun 7 18:55:13 EDT 2006
On Wed, 2006-06-07 at 21:34 +0200, Jan Svitok wrote:
> I wanted to set port in config file (via mongrel_rails -C
> config/config.yaml), and it seems to not take it into account.
> I've looked into the code, (line 58), and it reads:
> settings = conf.merge(settings)
> Now settings contain all the possible (important) keys (possibly with
> nil values, line 49, and lib/mongrel/command.rb, line 46) so
> everything from conf get overwritten with settings' content.
> Therefore, I think line 58 has no effect.
> My question is: Is this really a bug or am I missing something?
> (i'm using 18.104.22.168-mswin32)
I'll be damned, that's been backwards this whole time and nobody
noticed? That's just disgusting. I'll fix it right now and update the
Zed A. Shaw
More information about the Mongrel-users