From 01ea28a01d763a997b53a603d834aa76eb8ccf99 Mon Sep 17 00:00:00 2001 From: Ruslan Date: Thu, 20 Aug 2015 13:53:39 -0500 Subject: [PATCH] Added fix for wrong arguments --- lib/capistrano/tasks/puma.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/capistrano/tasks/puma.rake b/lib/capistrano/tasks/puma.rake index 329887c..838a9ef 100644 --- a/lib/capistrano/tasks/puma.rake +++ b/lib/capistrano/tasks/puma.rake @@ -71,7 +71,7 @@ namespace :puma do %w[halt stop status].map do |command| desc "#{command} puma" task command do - on roles (fetch(:puma_role)) do + on roles (fetch(:puma_role)) do |role| within current_path do puma_switch_user(role) do with rack_env: fetch(:puma_env) do