Hi,
I have a simple task that captures some output into a previously set
variable:
set :output, "\n"
[..]
task :task1, :roles => :server do
sudo "do something'' do |ch, stream, out|
set :output, output + ch[:host] +": " + out
end
end
or something along those lines, and this works just fine if I call
Capistrano::CLI from a ruby script.
But if I do the same from a rails application my output is empty. I
don't understand why. Nor do I know how I can trace this.
Can you please enlighten me, or point me to a previous discussion, I
can't find anything related?
I have :
ruby 1.9.1p243
Capistrano v2.5.13
Rails 2.3.5
Thanks,
Eugene
--
* You received this message because you are subscribed to the Google Groups
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/capistrano?hl=en