On Sep 29, 2007, at 10:30 AM, Al Evans wrote:

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

Capistrano uses the Rails trac: http://dev.rubyonrails.org.

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.

I can't seem to duplicate this. Can you set up a failing test, or give directions for what is causing it? This might be a bug in Webistrano, instead.

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

The "fallback" variable is passed into the sudo_behavior_callback method as a parameter, and is usually going to be Configuration.default_io_proc. Which should (and, for me, does) handle empty responses just fine.

- Jamis

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to