Skip to content

Instantly share code, notes, and snippets.

@mattrw89
Created June 22, 2011 20:53
Show Gist options
  • Save mattrw89/1041152 to your computer and use it in GitHub Desktop.
Save mattrw89/1041152 to your computer and use it in GitHub Desktop.
csd
* executing `staging'
* executing `deploy'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
updating the cached checkout on all servers
executing locally: "git ls-remote https://github.com/twinge/missionhub.git master"
command finished in 1098ms
* executing "if [ -d /var/www/html/integration/mh/shared/cached-copy ]; then cd /var/www/html/integration/mh/shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard 1a756b2267929f2ee3bec4977099c480638860f4 && git submodule -q init && for mod in `git submodule status | awk '{ print $2 }'`; do git config -f .git/config submodule.${mod}.url `git config -f .gitmodules --get submodule.${mod}.url` && echo Synced $mod; done && git submodule -q sync && git submodule -q update --init --recursive && git clean -q -d -x -f; else git clone -q https://github.com/twinge/missionhub.git /var/www/html/integration/mh/shared/cached-copy && cd /var/www/html/integration/mh/shared/cached-copy && git checkout -q -b deploy 1a756b2267929f2ee3bec4977099c480638860f4 && git submodule -q init && git submodule -q sync && git submodule -q update --init --recursive; fi"
servers: ["172.16.1.25"]
[172.16.1.25] executing command
** [172.16.1.25 :: out] Synced vendor/plugins/questionnaire_engine
command finished in 3255ms
copying the cached version to /var/www/html/integration/mh/releases/20110622205029
* executing "cp -RPp /var/www/html/integration/mh/shared/cached-copy /var/www/html/integration/mh/releases/20110622205029 && (echo 1a756b2267929f2ee3bec4977099c480638860f4 > /var/www/html/integration/mh/releases/20110622205029/REVISION)"
servers: ["172.16.1.25"]
[172.16.1.25] executing command
command finished in 828ms
* executing `deploy:finalize_update'
* executing "chmod -R g+w /var/www/html/integration/mh/releases/20110622205029"
servers: ["172.16.1.25"]
[172.16.1.25] executing command
command finished in 113ms
* executing "rm -rf /var/www/html/integration/mh/releases/20110622205029/log /var/www/html/integration/mh/releases/20110622205029/public/system /var/www/html/integration/mh/releases/20110622205029/tmp/pids &&\\\n mkdir -p /var/www/html/integration/mh/releases/20110622205029/public &&\\\n mkdir -p /var/www/html/integration/mh/releases/20110622205029/tmp &&\\\n ln -s /var/www/html/integration/mh/shared/log /var/www/html/integration/mh/releases/20110622205029/log &&\\\n ln -s /var/www/html/integration/mh/shared/system /var/www/html/integration/mh/releases/20110622205029/public/system &&\\\n ln -s /var/www/html/integration/mh/shared/pids /var/www/html/integration/mh/releases/20110622205029/tmp/pids"
servers: ["172.16.1.25"]
[172.16.1.25] executing command
command finished in 96ms
* executing "find /var/www/html/integration/mh/releases/20110622205029/public/images /var/www/html/integration/mh/releases/20110622205029/public/stylesheets /var/www/html/integration/mh/releases/20110622205029/public/javascripts -exec touch -t 201106222050.30 {} ';'; true"
servers: ["172.16.1.25"]
[172.16.1.25] executing command
** [out :: 172.16.1.25] find: `/var/www/html/integration/mh/releases/20110622205029/public/images': No such file or directory
** [out :: 172.16.1.25] find: `/var/www/html/integration/mh/releases/20110622205029/public/stylesheets': No such file or directory
** [out :: 172.16.1.25] find: `/var/www/html/integration/mh/releases/20110622205029/public/javascripts': No such file or directory
command finished in 60ms
triggering after callbacks for `deploy:update_code'
* executing `bundle:install'
* executing "ls -x /var/www/html/integration/mh/releases"
servers: ["172.16.1.25"]
[172.16.1.25] executing command
command finished in 64ms
* executing "bundle install --gemfile /var/www/html/integration/mh/releases/20110622205029/Gemfile --path /var/www/html/integration/mh/shared/bundle --deployment --quiet --without development test"
servers: ["172.16.1.25"]
[172.16.1.25] executing command
** [out :: 172.16.1.25]
** [out :: 172.16.1.25] rubycas-client-rails at /var/www/html/integration/mh/shared/bundle/ruby/1.9.1/bundler/gems/rubycas-client-rails-cec213ae2fbe did not have a valid gemspec.
** [out :: 172.16.1.25] This prevents bundler from installing bins or native extensions, but that may not affect its functionality.
** [out :: 172.16.1.25] The validation message from Rubygems was:
** [out :: 172.16.1.25] missing value for attribute summary
command finished in 6668ms
* executing `local_changes'
* executing "ln -s /var/www/html/integration/mh/shared/config/database.yml /var/www/html/integration/mh/releases/20110622205029/config/database.yml &&\\\n ln -s /var/www/html/integration/mh/shared/config/config.yml /var/www/html/integration/mh/releases/20110622205029/config/config.yml &&\\\n ln -s /var/www/html/integration/mh/shared/config/initializers/email.rb /var/www/html/integration/mh/releases/20110622205029/config/initializers/email.rb &&\\\n \\\n \\\n mkdir -p -m 770 /var/www/html/integration/mh/shared/tmp/{cache,sessions,sockets,pids} &&\\\n rm -Rf /var/www/html/integration/mh/releases/20110622205029/tmp && \\\n ln -s /var/www/html/integration/mh/shared/tmp /var/www/html/integration/mh/releases/20110622205029/tmp"
servers: ["172.16.1.25"]
[172.16.1.25] executing command
command finished in 119ms
* executing `deploy:symlink'
triggering before callbacks for `deploy:symlink'
* executing `deploy:assets'
* executing "ln -s /var/www/html/integration/mh/shared/assets /var/www/html/integration/mh/releases/20110622205029/public/assets"
servers: ["172.16.1.25"]
[172.16.1.25] executing command
command finished in 52ms
* executing "cd /var/www/html/integration/mh/releases/20110622205029 && bundle exec rake assets:precompile RAILS_ENV=staging"
servers: ["172.16.1.25"]
[172.16.1.25] executing command
** [out :: 172.16.1.25] (in /var/www/html/integration/mh/releases/20110622205029)
** [out :: 172.16.1.25] (in /var/www/html/integration/mh/releases/20110622205029)
** [out :: 172.16.1.25] rake aborted!
** [out :: 172.16.1.25] File exists - /var/www/html/integration/mh/releases/20110622205029/public/assets
** [out :: 172.16.1.25]
** [out :: 172.16.1.25] (See full trace by running task with --trace)
command finished in 73945ms
*** [deploy:update_code] rolling back
* executing "rm -rf /var/www/html/integration/mh/releases/20110622205029; true"
servers: ["172.16.1.25"]
[172.16.1.25] executing command
command finished in 449ms
failed: "sh -c 'cd /var/www/html/integration/mh/releases/20110622205029 && bundle exec rake assets:precompile RAILS_ENV=staging'" on 172.16.1.25
Matt-Webbs-MacBook-Pro:missionhub doulos$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment