search for: before_deploy

Displaying 3 results from an estimated 3 matches for "before_deploy".

2009 Jul 31
6
Background daemon
...ERM") do $running = false end while($running) do Notifier.deliver_report_daily #ActiveRecord::Base.logger.info "This daemon is still running at #{Time.now}.\n" sleep 86400 end ########### # deploy.rb ############ desc "Stop daemons before deploying" task :before_deploy do run "#{current_path}/script/daemons stop" end desc "Start daemons after deploying" task :after_deploy do run "#{current_path}/script/daemons start" end -- Posted via http://www.ruby-forum.com/.
2006 Jun 07
7
Tunneling in capistrano twice
Hi there, The default recipe expects you to be able to access your web server directly from your local machine. On our web server, for security purposes, it is only possible to ssh to it through one particular ip (which is also a remote machine.) The capistrano source is so compact and tidy it looks very hackable. But rather than messing around I thought I''d ask first if anyone else
2006 Apr 20
8
SCM for a Rails project - Darcs or Subversion?
Hi everyone. I''m choosing an SCM for my current Rails project. Up until now, for my other (non-Rails) codings, I used Darcs and liked it very much. I''d prefer to use Darcs for my Rails development as well. Looking into the matter, I''m somewhat deterred by the appearant dominance of Subversion as the SCM tool of choice for Rails hackers. Is there a technical reason for