lib/mascherano/tasks/figaro.cap in mascherano-1.0.3 vs lib/mascherano/tasks/figaro.cap in mascherano-1.0.4

- old
+ new

@@ -21,10 +21,10 @@ figaro_cmd = %Q(Figaro.vars("#{figaro_stage}").split) else figaro_cmd = %Q(Figaro.env("#{figaro_stage}").to_yaml) end - figaro_data = execute(:rails, "runner 'puts #{figaro_cmd}'").stdout + figaro_data = capture(:rails, "runner 'puts #{figaro_cmd}'") end if figaro_data on roles(fetch(:figaro_roles)) do upload! StringIO.new(figaro_data), fetch(:figaro_target)