Permalink
Browse files

Allow mongrel to run interactive windows

This allows for things such as WIN32OLE word document generation.
  • Loading branch information...
1 parent c6ebf13 commit 56db3de4618766726799b05cc0611b7f716a9a18 @nilbus nilbus committed Sep 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/capistrano/ext/windows_server.rb
@@ -107,7 +107,7 @@ def rubygems_cmd
mongrel_instances.each do |n|
run "mkdir -p #{current_path}/{tmp,log}" # These are often not under version control, but their absence keeps mongrel from recognizing the rails app
run "cd #{current_path} && #{ruby_cmd 'mongrel', 'mongrel_rails'} service::install -e #{rails_env} -N #{mongrel_instance_prefix}#{n} -p #{base_port + n - mongrel_instances.first}; true"
- run %Q(sc.exe config "#{mongrel_instance_prefix}#{n}" start= auto; true)
+ run %Q(sc.exe config "#{mongrel_instance_prefix}#{n}" start= auto type= interact type= own; true)
end
end

0 comments on commit 56db3de

Please sign in to comment.