bin/depify in deprec-2.1.5 vs bin/depify in deprec-2.1.8
- old
+ new
@@ -24,9 +24,14 @@
# some of the builtin cap deploy tasks which are not appropriate
# for deploying a project that isn't setup to use deprec.
#
require 'deprec_minus_rails'
+ # This fixes the following problem on Ubuntu Lucid (and others?)
+ # 'sudo: no tty present and no askpass program specified'
+ #
+ default_run_options[:pty] = true
+
FILE
files = {
"Capfile" => unindent(<<-FILE),
load 'deploy' if respond_to?(:namespace) # cap2 differentiator