Capistrano Execution Path
Capistrano Execution Path
Apple OS X (10.5): /Library/Ruby/Gems/1.8/gems/capistrano-2.5.0/ Microsoft Windows: C:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.0/ GNU / Linux: See your distribution's documentation. Something like: /usr/local/lib/ruby/gems/1.8/
Why show the gem paths??!? So you can go and explore this for yourself of course!
You'll nd all these methods in plain, easy to read Ruby in the capistrano gem directory, in: ...../lib/capistrano/recipes/deploy.rb
deploy:setup
deploy:default
deploy:update
deploy:update_code
svn checkout -q -r116 svn+ssh://repository.host.com/trunk/ /u/apps/example/releases/20081008230107 \ && (echo 116 > /u/apps/example/releases/20081008230107/REVISION)
strategy.deploy!
For More Information See: http://wiki.capify.org/index.php?title=Understanding_deployment_strategies [internal] Touches up the released code.
chmod -R g+w /u/apps/example/releases/20081008230107
deploy:nalize_update
deploy:symlink
rm -rf /u/apps/example/current ln -sf /u/apps/example/releases/20081008230107 /u/apps/example/current # Where 20081008230107 is the latest release according to: ls -xt /u/apps/example/releases/
deploy:restart
sudo /u/apps/example/current/script/process/reaper