Skip to content

Commit

Permalink
Merge pull request #124 from MrToastyToast/fix_for_roles_wrong_aruments
Browse files Browse the repository at this point in the history
Added fix for wrong arguments on puma stop
  • Loading branch information
seuros committed Aug 20, 2015
2 parents 25d1801 + 01ea28a commit 64fa3bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/capistrano/tasks/puma.rake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 64fa3bf

Please sign in to comment.