Ticket #7088: shared_hosts_hate_fcgi.diff
| File shared_hosts_hate_fcgi.diff, 0.8 kB (added by jaw6, 2 years ago) |
|---|
-
lib/capistrano/recipes/standard.rb
old new 62 62 end 63 63 64 64 desc <<-DESC 65 Sets group permissions on checkout. Useful for team environments, bad on shared hosts. Override this task if you're on a shared host. 66 DESC 67 task :set_permissions 68 run "chmod -R g+w #{release_path}" 69 end 70 71 desc <<-DESC 65 72 Update all servers with the latest release of the source code. All this does 66 73 is do a checkout (as defined by the selected scm module). 67 74 DESC … … 70 77 71 78 source.checkout(self) 72 79 73 run "chmod -R g+w #{release_path}"80 set_permissions 74 81 75 82 run <<-CMD 76 83 rm -rf #{release_path}/log #{release_path}/public/system &&