lib/mongrel_cluster/recipes.rb in mongrel_cluster-1.0.4 vs lib/mongrel_cluster/recipes.rb in mongrel_cluster-1.0.5
- old
+ new
@@ -1,6 +1,6 @@
-if respond_to?(:namespace)
+if Capistrano::Configuration.respond_to?(:instance)
require 'mongrel_cluster/recipes_2' # Cap 2
else
require 'mongrel_cluster/recipes_1' # Cap 1
end