[Capistrano] Re: cleanup task with shared environment

2007-01-02 Thread jjathman
I guess adding the: set :use_sudo, false fixes this. I think the cleanup documentation in the manuals should be updated: "This task runs on all roles. Also, it uses sudo to do the delete. There is not currently a way to change this, but if you need to use run instead of sudo, you can copy the

[Capistrano] cleanup task with shared environment

2007-01-02 Thread jjathman
I'm using railsplayground for my hosting and I'm not able to sudo commands. However, the cleanup task seems to always want to use this. Is there a way to run the cleanup task not with sudo? Thanks. Joe --~--~-~--~~~---~--~~ To unsubscribe from this group, send

[Capistrano] Re: Buffering output

2007-01-02 Thread S. Robert James
Thanks Stephen. I modified what you wrote to address Jamis's concern. It will hold the buffer for up to 20 seconds before forcing an output. # Buffer capistrano output per line Capistrano::Actor.default_io_proc = Proc.new do |ch, stream, out| ch[stream] ||= '' ch[stream] << out

[Capistrano] Fix for ssh auth error with cap 1.3

2007-01-02 Thread Ezra Zygmuntowicz
Hey Jamis - I did some work and was able to find and fix the bug that people are having with the 1.3 release and ssh authentication failure when using a gateway. The bug was in my patch for username and ports in server strings. When a gateway was used the retry block in the SSH.connect