diff --git a/tasks/mina/default.rb b/tasks/mina/default.rb index 0d785cd0..54ffc429 100644 --- a/tasks/mina/default.rb +++ b/tasks/mina/default.rb @@ -10,8 +10,12 @@ task :run_commands do if commands.run_default? - invoke :environment - commands.run(:remote) + real_commands = commands.process + + reset! + run :remote do + command real_commands + end end end