I have attached deploy.rb file. Check that. I am executing cap deploy and getting result shown below signature (check this too).
But application still not started after deploying. Now what to do ? -- Mandeep Kaur http://mandeepsimak.wordpress.com/ --------------------------------- $ cap deploy * 2012-12-25 11:26:11 executing `deploy' * 2012-12-25 11:26:11 executing `deploy:update' ** transaction: start * 2012-12-25 11:26:11 executing `deploy:update_code' updating the cached checkout on all servers executing locally: "git ls-remote [email protected]:mandeepkaur/myapp.git master" command finished in 5993ms * executing "if [ -d /home/mandy/public_html/refinery/myapp/shared/cached-copy ]; then cd /home/mandy/public_html/refinery/myapp/shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard 5523daa79042208ae3810e5b7d1c0b1abf6c35a0 && git clean -q -d -x -f; else git clone -q [email protected]:mandeepkaur/myapp.git /home/mandy/public_html/refinery/myapp/shared/cached-copy && cd /home/mandy/public_html/refinery/myapp/shared/cached-copy && git checkout -q -b deploy 5523daa79042208ae3810e5b7d1c0b1abf6c35a0; fi" servers: ["myapp"] Password: [myapp] executing command command finished in 11387ms copying the cached version to /home/mandy/public_html/refinery/myapp/releases/20121225055634 * executing "rsync -lrpt --exclude=\".git\" --exclude=\"spec\" /home/mandy/public_html/refinery/myapp/shared/cached-copy/ /home/mandy/public_html/refinery/myapp/releases/20121225055634 && (echo 5523daa79042208ae3810e5b7d1c0b1abf6c35a0 > /home/mandy/public_html/refinery/myapp/releases/20121225055634/REVISION)" servers: ["myapp"] [myapp] executing command command finished in 208ms * 2012-12-25 11:26:34 executing `deploy:finalize_update' * executing "chmod -R -- g+w /home/mandy/public_html/refinery/myapp/releases/20121225055634 && rm -rf -- /home/mandy/public_html/refinery/myapp/releases/20121225055634/public/system && mkdir -p -- /home/mandy/public_html/refinery/myapp/releases/20121225055634/public/ && ln -s -- /home/mandy/public_html/refinery/myapp/shared/system /home/mandy/public_html/refinery/myapp/releases/20121225055634/public/system && rm -rf -- /home/mandy/public_html/refinery/myapp/releases/20121225055634/log && ln -s -- /home/mandy/public_html/refinery/myapp/shared/log /home/mandy/public_html/refinery/myapp/releases/20121225055634/log && rm -rf -- /home/mandy/public_html/refinery/myapp/releases/20121225055634/tmp/pids && mkdir -p -- /home/mandy/public_html/refinery/myapp/releases/20121225055634/tmp/ && ln -s -- /home/mandy/public_html/refinery/myapp/shared/pids /home/mandy/public_html/refinery/myapp/releases/20121225055634/tmp/pids" servers: ["myapp"] [myapp] executing command command finished in 40ms * executing "find /home/mandy/public_html/refinery/myapp/releases/20121225055634/public/images\\ /home/mandy/public_html/refinery/myapp/releases/20121225055634/public/stylesheets\\ /home/mandy/public_html/refinery/myapp/releases/20121225055634/public/javascripts -exec touch -t -- 201212250556.34 {} ';'; true" servers: ["myapp"] [myapp] executing command ** [out :: myapp] find: `/home/mandy/public_html/refinery/myapp/releases/20121225055634/public/images /home/mandy/public_html/refinery/myapp/releases/20121225055634/public/stylesheets /home/mandy/public_html/refinery/myapp/releases/20121225055634/public/javascripts': No such file or directory ** [out :: myapp] command finished in 8ms * 2012-12-25 11:26:34 executing `deploy:create_symlink' * executing "rm -f /home/mandy/public_html/refinery/myapp/current && ln -s /home/mandy/public_html/refinery/myapp/releases/20121225055634 /home/mandy/public_html/refinery/myapp/current" servers: ["myapp"] [myapp] executing command command finished in 9ms ** transaction: commit * 2012-12-25 11:26:34 executing `deploy:restart' * executing "touch /home/mandy/public_html/refinery/myapp/current/tmp/restart.txt" servers: ["myapp"] [myapp] executing command command finished in 10ms triggering after callbacks for `deploy:restart' * 2012-12-25 11:26:34 executing `deploy:cleanup' * executing "ls -xt /home/mandy/public_html/refinery/myapp/releases" servers: ["myapp"] [myapp] executing command command finished in 9ms ** keeping 5 of 6 deployed releases * executing "rm -rf /home/mandy/public_html/refinery/myapp/releases/20121225045217" servers: ["myapp"] [myapp] executing command command finished in 7ms -- Mandeep Kaur http://mandeepsimak.wordpress.com/ -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
deploy.rb
Description: Binary data
