Sorry, I couldn't find a Trak site or anything.

Working on deploying a project to Engine Yard using Webistrano (1.0
and 1.1). Deploys were "failing" in sudo_behavior_callback
(invocation.rb) on receiving an empty prompt from the server, in the
"else fallback.call..." portion of the method.

Since I couldn't figure out where "fallback" was supposed to be set,
and I couldn't imagine how anything useful could be done with an empty
prompt anyway, I patch the line

    fallback.call(ch, stream, out)

to read

    fallback.call(ch, stream, out) unless out.nil? || out.strip.empty?

I thought this might be helpful to someone else.

--Al Evans


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to