Sorry I keep noticing different things your role definition is incorrect

Either do

hosts.each do |ip|
  server ip, :app
end

Or more simply

role :app, hosts

As the role helper accepts an array directly

> On Nov 29, 2013, at 3:17 AM, Varun Shankar <[email protected]> wrote:
> 
>   hosts.each do |ip|
>     role :app, ip
>   end

-- 
-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en
--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to