nesquena-cap-recipes 0.2.16 → 0.2.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION.yml +1 -1
- data/lib/cap_recipes/tasks/passenger.rb +6 -4
- metadata +1 -1
data/VERSION.yml
CHANGED
@@ -101,10 +101,12 @@ Capistrano::Configuration.instance(true).load do
|
|
101
101
|
task :passenger_apache_module, :roles => :web do
|
102
102
|
sudo "#{base_ruby_path}/bin/gem install passenger --no-ri --no-rdoc"
|
103
103
|
input = ''
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
104
|
+
sudo "#{base_ruby_path}/bin/passenger-install-apache2-module", :pty => true do |ch, stream, data|
|
105
|
+
if data =~ /Press\sEnter\sto\scontinue/ || data =~ /Press\sENTER\sto\scontinue/
|
106
|
+
ch.send_data("\n")
|
107
|
+
else
|
108
|
+
Capistrano::Configuration.default_io_proc.call(ch, stream, data)
|
109
|
+
end
|
108
110
|
end
|
109
111
|
end
|
110
112
|
|