about summary refs log tree commit homepage
path: root/projects/mongrel_cluster/lib/mongrel_cluster/recipes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'projects/mongrel_cluster/lib/mongrel_cluster/recipes.rb')
-rw-r--r--projects/mongrel_cluster/lib/mongrel_cluster/recipes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/mongrel_cluster/lib/mongrel_cluster/recipes.rb b/projects/mongrel_cluster/lib/mongrel_cluster/recipes.rb
index 6b62712..74ec468 100644
--- a/projects/mongrel_cluster/lib/mongrel_cluster/recipes.rb
+++ b/projects/mongrel_cluster/lib/mongrel_cluster/recipes.rb
@@ -1,5 +1,5 @@
 
-if Capistrano::Configuration.respond_to?(:instance)
+if respond_to?(:namespace)
   require 'mongrel_cluster/recipes_2' # Cap 2
 else  
   require 'mongrel_cluster/recipes_1' # Cap 1