I had the same problem. I changed file /usr/lib/ruby/gems/1.8/gems/capistrano-1.99.1/lib/ capistrano/configuration/actions/invocation.rb:78 to /password/i (was /password:/i)
pre-compiled regexs that can be overwritten might help solve issues like this. I would be happy to look in to a way of implementing them unless this is a solved problem in 2.0. I am running version 1.4 .1. Stephen Becker IV On Jun 26, 1:18 am, "Jamis Buck" <[EMAIL PROTECTED]> wrote: > It might be that the regex which Capistrano uses to recognize a sudo > prompt is not matching the prompt your remote host is using, for some > reason. If you want to dig in and see if you can figure out why that > is, that'd be great. Otherwise, I'll try and get to it this week > sometime, before I release cap2 final. I'm actually thinking I may do > ONE MORE preview release, given the growing list of changes since the > last preview... just to make sure. > > - Jamis > > On 6/25/07, me <[EMAIL PROTECTED]> wrote: > > > > > In my attempts to run `cap cold_deploy`, I'm stuck at the point where > > it runs `sudo mongrel_rails cluster::start`. It waits for my > > password, which you see here: > > > ** transaction: commit > > * executing task spinner > > * executing task start_mongrel_cluster > > * executing "sudo mongrel_rails cluster::start -C /srv/www/htdocs/ > > webapp/current/config/mongrel_cluster.yml" > > servers: ["web-01"] > > [web-01] executing command > > ** [out :: web-01] foomanchu's password: > > > However, it does not prompt me to type in my password, like I > > initially did at the start of running cold_deploy. So, it just hangs > > there until a timeout. > > > What do I need to do to either let it prompt me for foomanchu's > > password or to let it grab the password I entered the first (and only) > > time it prompted me? > > > Thanks, > > > -A. --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
