It seems that a recent code cleanup broke --user and --group switch in
the trunk. Mongrel essentially ignores these commands. This applies to
everyone who has installed
gem install mongrel --source=http://mongrel.rubyforge.org/releases/
recently. I have attached a patch to revert to some old working code.
best regards,
kaspar
==== Patch <fix_user_and_group_switch> level 1
Source:
edc81f83-0d54-4a6e-b0e6-5855adb76c4a:/local/contribute/mongrel/trunk:2102
[local]
Target: 19e92222-5c0b-0410-8929-a290d50e31e9:/trunk:358 [mirrored]
(svn://rubyforge.org/var/svn/mongrel)
Log:
[EMAIL PROTECTED]: kaspar | 2006-10-22 16:24:42 +0200
...
[EMAIL PROTECTED]: kaspar | 2006-10-22 16:25:49 +0200
! nil is not allowed for a short parameter name. Replaced it with the
value it had before code cleanup: ''
=== bin/mongrel_rails
==================================================================
--- bin/mongrel_rails (revision 358)
+++ bin/mongrel_rails (patch fix_user_and_group_switch level 1)
@@ -31,9 +31,9 @@
['-C', '--config PATH', "Use a config file", :@config_file, nil],
['-S', '--script PATH', "Load the given file as an extra config
script", :@config_script, nil],
['-G', '--generate PATH', "Generate a config file for use with -C",
:@generate, nil],
- [nil, '--user USER', "User to run as", :@user, nil],
- [nil, '--group GROUP', "Group to run as", :@group, nil],
- [nil, '--prefix PATH', "URL prefix for Rails app", :@prefix, nil]
+ ['', '--user USER', "User to run as", :@user, nil],
+ ['', '--group GROUP', "Group to run as", :@group, nil],
+ ['', '--prefix PATH', "URL prefix for Rails app", :@prefix, nil]
]
end
_______________________________________________
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users