From d829ffdc097b337c5486bf71d35587f73fca8b7c Mon Sep 17 00:00:00 2001 From: Nathan Stitt Date: Mon, 11 Nov 2013 13:48:55 -0600 Subject: [PATCH] Roles is a Set, which doesn't have a join method --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 68ab81d9..6f0af2d2 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ server 'example.org', roles: [:db, :workers] desc "Report Uptimes" task :uptime do on roles(:all) do |host| - info "Host #{host} (#{host.roles.join(', ')}):\t#{capture(:uptime)}" + info "Host #{host} (#{host.roles.to_a.join(', ')}):\t#{capture(:uptime)}" end end ```