Skip to content

Instantly share code, notes, and snippets.

@cubiic
Created November 8, 2012 23:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cubiic/c54933142b900f9f93b9 to your computer and use it in GitHub Desktop.
Save cubiic/c54933142b900f9f93b9 to your computer and use it in GitHub Desktop.
* 2012-11-09 01:27:40 executing `bundle:install'
* executing "cd /home/ubuntu/apps/myApp/current && bundle install --gemfile /home/ubuntu/apps/myApp/current/Gemfile --path /home/ubuntu/apps/myApp/shared/bundle --deployment --quiet --without development test"
servers: ["xx.xx.xxx.xxx"]
[xx.xx.xxx.xxx] executing command
command finished in 118613ms
* executing "chmod -R -- g+w /home/ubuntu/apps/myApp/current && rm -rf -- /home/ubuntu/apps/myApp/current/public/system && mkdir -p -- /home/ubuntu/apps/myApp/current/public/ && ln -s -- /home/ubuntu/apps/myApp/shared/system /home/ubuntu/apps/myApp/current/public/system && rm -rf -- /home/ubuntu/apps/myApp/current/log && ln -s -- /home/ubuntu/apps/myApp/shared/log /home/ubuntu/apps/myApp/current/log && rm -rf -- /home/ubuntu/apps/myApp/current/tmp/pids && mkdir -p -- /home/ubuntu/apps/myApp/current/tmp/ && ln -s -- /home/ubuntu/apps/myApp/shared/pids /home/ubuntu/apps/myApp/current/tmp/pids"
servers: ["xx.xx.xxx.xxx"]
[xx.xx.xxx.xxx] executing command
command finished in 814ms
* executing "find /home/ubuntu/apps/myApp/current/public/images\\ /home/ubuntu/apps/myApp/current/public/stylesheets\\ /home/ubuntu/apps/myApp/current/public/javascripts -exec touch -t -- 201211082329.39 {} ';'; true"
servers: ["xx.xx.xxx.xxx"]
[xx.xx.xxx.xxx] executing command
** [out :: xx.xx.xxx.xxx] find:
** [out :: xx.xx.xxx.xxx] `/home/ubuntu/apps/myApp/current/public/images /home/ubuntu/apps/myApp/current/public/stylesheets /home/ubuntu/apps/myApp/current/public/javascripts'
** [out :: xx.xx.xxx.xxx] : No such file or directory
** [out :: xx.xx.xxx.xxx]
command finished in 1742ms
* 2012-11-09 01:29:41 executing `deploy:create_symlink'
* executing "rm -f /home/ubuntu/apps/myApp/current && ln -s /home/ubuntu/apps/myApp/current /home/ubuntu/apps/myApp/current"
servers: ["xx.xx.xxx.xxx"]
[xx.xx.xxx.xxx] executing command
** [out :: xx.xx.xxx.xxx] rm:
** [out :: xx.xx.xxx.xxx] cannot remove `/home/ubuntu/apps/myApp/current'
** [out :: xx.xx.xxx.xxx] : Is a directory
** [out :: xx.xx.xxx.xxx]
command finished in 806ms
*** [deploy:create_symlink] rolling back
* executing "ls -x /home/ubuntu/apps/myApp/releases"
servers: ["xx.xx.xxx.xxx"]
[xx.xx.xxx.xxx] executing command
command finished in 799ms
** [deploy:create_symlink] exception while rolling back: Capistrano::CommandError, failed: "sh -c 'ls -x /home/ubuntu/apps/myApp/releases'" on xx.xx.xxx.xxx
*** [deploy:update_code] rolling back
* executing "rm -rf /home/ubuntu/apps/myApp/current; true"
servers: ["xx.xx.xxx.xxx"]
[xx.xx.xxx.xxx] executing command
command finished in 1239ms
failed: "sh -c 'rm -f /home/ubuntu/apps/myApp/current && ln -s /home/ubuntu/apps/myApp/current /home/ubuntu/apps/myApp/current'" on xx.xx.xxx.xxx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment