From 537f843a1bb567ee3fa936ef21c1a4bf14df151a Mon Sep 17 00:00:00 2001 From: filipe Date: Fri, 31 Aug 2007 02:52:05 +0000 Subject: [PATCH] When run cluster::configure task with '-r' parameter it does not set the docroot in mongrel_cluster.yml (closes: #9389) git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@581 19e92222-5c0b-0410-8929-a290d50e31e9 --- projects/mongrel_cluster/lib/mongrel_cluster/init.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/mongrel_cluster/lib/mongrel_cluster/init.rb b/projects/mongrel_cluster/lib/mongrel_cluster/init.rb index 6a02c656..f39cf715 100644 --- a/projects/mongrel_cluster/lib/mongrel_cluster/init.rb +++ b/projects/mongrel_cluster/lib/mongrel_cluster/init.rb @@ -315,7 +315,7 @@ module Cluster @options["log_file"] = @log_file if @log_file @options["debug"] = @debug if @debug @options["num_procs"] = @num_procs if @num_procs - @options["docroot"] = @docroot if @docroots + @options["docroot"] = @docroot if @docroot @options["address"] = @address if @address @options["timeout"] = @timeout if @timeout @options["environment"] = @environment if @environment