def cap_servers(roles=nil)
my_servers.each { |ip_addr|
server ip_addr, roles || %{:app}
}
endDid you check the implementation of server in the "DSL" file?
--
You received this message because you are subscribed to the Google Groups "Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/e076294c-c82c-44b9-af6e-cb7aa6213f88%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
def cap_servers(roles=nil)
my_servers.each { |ip_addr|
server ip_addr, { :roles => (roles || %w{app}) }
}
end