On Mon, Oct 8, 2012 at 8:58 PM, Ilia Bylich <[email protected]> wrote: > Try this in your deploy.rb > > ssh_options[:forward_agent] = true > default_run_options[:pty] = true >
Now it give result without error. Check its o/p below signature. But my application is not started. I got following error when I open domain(simak) in browser. Is there any step to start rails app with capistrano which i was missing? -- Mandeep Kaur http://mandeepsimak.wordpress.com/ ---------------------------------------------------------------------------------- $ cap deploy * executing `deploy' * executing `deploy:update' ** transaction: start * executing `deploy:update_code' updating the cached checkout on all servers executing locally: "git ls-remote [email protected]:megha55/mysite.git master" command finished in 5377ms * executing "if [ -d ~/public_html/mysite/shared/cached-copy ]; then cd ~/public_html/mysite/shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard d8c68e8142039f19b36669692144825715bc129a && git clean -q -d -x -f; else git clone -q [email protected]:megha55/mysite.git ~/public_html/mysite/shared/cached-copy && cd ~/public_html/mysite/shared/cached-copy && git checkout -q -b deploy d8c68e8142039f19b36669692144825715bc129a; fi" servers: ["simak"] Password: [simak] executing command command finished in 6903ms copying the cached version to ~/public_html/mysite/releases/20121008153222 * executing "cp -RPp ~/public_html/mysite/shared/cached-copy ~/public_html/mysite/releases/20121008153222 && (echo d8c68e8142039f19b36669692144825715bc129a > ~/public_html/mysite/releases/20121008153222/REVISION)" servers: ["simak"] [simak] executing command command finished in 24ms * executing `deploy:finalize_update' * executing "chmod -R g+w ~/public_html/mysite/releases/20121008153222" servers: ["simak"] [simak] executing command command finished in 12ms * executing "rm -rf ~/public_html/mysite/releases/20121008153222/public/system && mkdir -p ~/public_html/mysite/releases/20121008153222/public/" servers: ["simak"] [simak] executing command command finished in 11ms * executing "ln -s ~/public_html/mysite/shared/system ~/public_html/mysite/releases/20121008153222/public/system" servers: ["simak"] [simak] executing command command finished in 9ms * executing "rm -rf ~/public_html/mysite/releases/20121008153222/log" servers: ["simak"] [simak] executing command command finished in 10ms * executing "ln -s ~/public_html/mysite/shared/log ~/public_html/mysite/releases/20121008153222/log" servers: ["simak"] [simak] executing command command finished in 9ms * executing "rm -rf ~/public_html/mysite/releases/20121008153222/tmp/pids && mkdir -p ~/public_html/mysite/releases/20121008153222/tmp/" servers: ["simak"] [simak] executing command command finished in 11ms * executing "ln -s ~/public_html/mysite/shared/pids ~/public_html/mysite/releases/20121008153222/tmp/pids" servers: ["simak"] [simak] executing command command finished in 9ms * executing "find ~/public_html/mysite/releases/20121008153222/public/images ~/public_html/mysite/releases/20121008153222/public/stylesheets ~/public_html/mysite/releases/20121008153222/public/javascripts -exec touch -t 201210081532.22 {} ';'; true" servers: ["simak"] [simak] executing command ** [out :: simak] find: `/home/mandy/public_html/mysite/releases/20121008153222/public/images': No such file or directory ** [out :: simak] find: `/home/mandy/public_html/mysite/releases/20121008153222/public/stylesheets': No such file or directory ** [out :: simak] find: `/home/mandy/public_html/mysite/releases/20121008153222/public/javascripts': No such file or directory command finished in 13ms * executing `deploy:create_symlink' * executing "rm -f ~/public_html/mysite/current && ln -s ~/public_html/mysite/releases/20121008153222 ~/public_html/mysite/current" servers: ["simak"] [simak] executing command command finished in 11ms ** transaction: commit * executing `deploy:restart' -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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 https://groups.google.com/groups/opt_out.

