Skip to content

Instantly share code, notes, and snippets.

@stephanpavlovic
Created February 1, 2011 16:00
Show Gist options
  • Save stephanpavlovic/806058 to your computer and use it in GitHub Desktop.
Save stephanpavlovic/806058 to your computer and use it in GitHub Desktop.
Identity added: /Users/stephan-pavlovic/.ssh/id_rsa (/Users/stephan-pavlovic/.ssh/id_rsa)
* executing `deploy:migrations'
* executing `deploy:update_code'
updating the cached checkout on all servers
executing locally: "git ls-remote git@codebasehq.com:eightpitch/eightpitch/eightpitch.git master"
* executing "if [ -d /var/www/loudsquare/shared/cached-copy ]; then cd /var/www/loudsquare/shared/cached-copy && git fetch -q origin && git reset -q --hard 3039c855c43bfc0d2b5a9d82a24014510ca7781a && git clean -q -d -x -f; else git clone -q git@codebasehq.com:eightpitch/eightpitch/eightpitch.git /var/www/loudsquare/shared/cached-copy && cd /var/www/loudsquare/shared/cached-copy && git checkout -q -b deploy 3039c855c43bfc0d2b5a9d82a24014510ca7781a; fi"
servers: ["178.77.97.81"]
[178.77.97.81] executing command
** [178.77.97.81 :: out] remote: Counting objects: 1
** [178.77.97.81 :: out] remote: Counting objects: 37, done.
** [178.77.97.81 :: out] remote: Compressing objects: 5% (1/20)
** [178.77.97.81 :: out] remote: Compressing objects: 10% (2/20)
** [178.77.97.81 :: out] remote: Compressing objects: 15% (3/20)
** [178.77.97.81 :: out] remote: Compressing objects: 20% (4/20)
** [178.77.97.81 :: out] remote: Compressing objects: 25% (5/20)
** [178.77.97.81 :: out] remote: Compressing objects: 30% (6/20)
** [178.77.97.81 :: out] remote: Compressing objects: 35% (7/20)
** [178.77.97.81 :: out] remote: Compressing objects: 40% (8/20)
** [178.77.97.81 :: out] remote: Compressing objects: 45% (9/20)
** [178.77.97.81 :: out] remote: Compressing objects: 50% (10/20)
** [178.77.97.81 :: out] remote: Compressing objects: 55% (11/20)
** [178.77.97.81 :: out] remote: Compressing objects: 60% (12/20)
** [178.77.97.81 :: out] remote: Compressing objects: 65% (13/20)
** [178.77.97.81 :: out] remote: Compressing objects: 70% (14/20)
** [178.77.97.81 :: out] remote: Compressing objects: 75% (15/20)
** [178.77.97.81 :: out] remote: Compressing objects: 80% (16/20)
** [178.77.97.81 :: out] remote: Compressing objects: 85% (17/20)
** [178.77.97.81 :: out] remote: Compressing objects: 90% (18/20)
** [178.77.97.81 :: out] remote: Compressing objects: 95% (19/20)
** [178.77.97.81 :: out] remote: Compressing objects: 100% (20/20)
** [178.77.97.81 :: out] remote: Compressing objects: 100% (20/20), done.
** [178.77.97.81 :: out] remote: Total 21 (delta 17), reused 0 (delta 0)
** [178.77.97.81 :: out] Unpacking objects: 4% (1/21)
** [178.77.97.81 :: out] Unpacking objects: 9% (2/21)
** [178.77.97.81 :: out] Unpacking objects: 14% (3/21)
** [178.77.97.81 :: out] Unpacking objects: 19% (4/21)
** [178.77.97.81 :: out] Unpacking objects: 23% (5/21)
** [178.77.97.81 :: out] Unpacking objects: 28% (6/21)
** [178.77.97.81 :: out] Unpacking objects: 33% (7/21)
** [178.77.97.81 :: out] Unpacking objects: 38% (8/21)
** [178.77.97.81 :: out] Unpacking objects: 42% (9/21)
** [178.77.97.81 :: out] Unpacking objects: 47% (10/21)
** [178.77.97.81 :: out] Unpacking objects: 52% (11/21)
** [178.77.97.81 :: out] Unpacking objects: 57% (12/21)
** [178.77.97.81 :: out] Unpacking objects: 61% (13/21)
** [178.77.97.81 :: out] Unpacking objects: 66% (14/21)
** [178.77.97.81 :: out] Unpacking objects: 71% (15/21)
** [178.77.97.81 :: out] Unpacking objects: 76% (16/21)
** [178.77.97.81 :: out] Unpacking objects: 80% (17/21)
** [178.77.97.81 :: out] Unpacking objects: 85% (18/21)
** [178.77.97.81 :: out] Unpacking objects: 90% (19/21)
** [178.77.97.81 :: out] Unpacking objects: 95% (20/21)
** [178.77.97.81 :: out] Unpacking objects: 100% (21/21)
** [178.77.97.81 :: out] Unpacking objects: 100% (21/21), done.
** [178.77.97.81 :: out] From git@codebasehq.com:eightpitch/eightpitch/eightpitch
** [178.77.97.81 :: out] 3833e02..3039c85 master -> origin/master
command finished
copying the cached version to /var/www/loudsquare/releases/20110201155636
* executing "cp -RPp /var/www/loudsquare/shared/cached-copy /var/www/loudsquare/releases/20110201155636 && (echo 3039c855c43bfc0d2b5a9d82a24014510ca7781a > /var/www/loudsquare/releases/20110201155636/REVISION)"
servers: ["178.77.97.81"]
[178.77.97.81] executing command
command finished
* executing `deploy:finalize_update'
* executing "chmod -R g+w /var/www/loudsquare/releases/20110201155636"
servers: ["178.77.97.81"]
[178.77.97.81] executing command
command finished
* executing "rm -rf /var/www/loudsquare/releases/20110201155636/log /var/www/loudsquare/releases/20110201155636/public/system /var/www/loudsquare/releases/20110201155636/tmp/pids &&\\\n mkdir -p /var/www/loudsquare/releases/20110201155636/public &&\\\n mkdir -p /var/www/loudsquare/releases/20110201155636/tmp &&\\\n ln -s /var/www/loudsquare/shared/log /var/www/loudsquare/releases/20110201155636/log &&\\\n ln -s /var/www/loudsquare/shared/system /var/www/loudsquare/releases/20110201155636/public/system &&\\\n ln -s /var/www/loudsquare/shared/pids /var/www/loudsquare/releases/20110201155636/tmp/pids"
servers: ["178.77.97.81"]
[178.77.97.81] executing command
command finished
* executing "find /var/www/loudsquare/releases/20110201155636/public/images /var/www/loudsquare/releases/20110201155636/public/stylesheets /var/www/loudsquare/releases/20110201155636/public/javascripts -exec touch -t 201102011557.01 {} ';'; true"
servers: ["178.77.97.81"]
[178.77.97.81] executing command
command finished
triggering after callbacks for `deploy:finalize_update'
* executing `db:symlink_config_yml'
* executing "ln -nfs /var/www/loudsquare/shared/database.yml /var/www/loudsquare/releases/20110201155636/config/database.yml"
servers: ["178.77.97.81"]
[178.77.97.81] executing command
command finished
* executing `config:htaccess'
* executing "cp /var/www/loudsquare/shared/htaccess /var/www/loudsquare/releases/20110201155636/public/.htaccess"
servers: ["178.77.97.81"]
[178.77.97.81] executing command
command finished
* executing `config:symlink'
* executing "ln -nfs /var/www/loudsquare/shared/backup.rb /var/www/loudsquare/releases/20110201155636/config/backup.rb"
servers: ["178.77.97.81"]
[178.77.97.81] executing command
command finished
* executing "ln -nfs /var/www/loudsquare/shared/couchdb.yml /var/www/loudsquare/releases/20110201155636/config/couchdb.yml"
servers: ["178.77.97.81"]
[178.77.97.81] executing command
command finished
* executing "ln -nfs /var/www/loudsquare/shared/newrelic.yml /var/www/loudsquare/releases/20110201155636/config/newrelic.yml"
servers: ["178.77.97.81"]
[178.77.97.81] executing command
command finished
* executing `shared:symlink'
* executing "rm -rf /var/www/loudsquare/releases/20110201155636/public/images/ppc"
servers: ["178.77.97.81"]
[178.77.97.81] executing command
command finished
* executing "ln -nfs /var/www/loudsquare/shared/assets /var/www/loudsquare/releases/20110201155636/public/images/ppc"
servers: ["178.77.97.81"]
[178.77.97.81] executing command
command finished
* executing `deploy:cleanup'
* executing "ls -x /var/www/loudsquare/releases"
servers: ["178.77.97.81"]
[178.77.97.81] executing command
command finished
*** no old releases to clean up
triggering after callbacks for `deploy:update_code'
* executing `bundle:install'
* executing "bundle install --gemfile /var/www/loudsquare/releases/20110201155636/Gemfile --path /var/www/loudsquare/shared/bundle --deployment --quiet --without development test"
servers: ["178.77.97.81"]
[178.77.97.81] executing command
** [out :: 178.77.97.81] /home/rails/.rvm/gems/ruby-1.8.7-p302/gems/bundler-1.0.3/lib/bundler.rb:197:in ``'
** [out :: 178.77.97.81] :
** [out :: 178.77.97.81] Cannot allocate memory - which sudo 2>/dev/null
** [out :: 178.77.97.81] (
** [out :: 178.77.97.81] Errno::ENOMEM
** [out :: 178.77.97.81] )
** [out :: 178.77.97.81] from /home/rails/.rvm/gems/ruby-1.8.7-p302/gems/bundler-1.0.3/lib/bundler.rb:197:in `requires_sudo?'
** [out :: 178.77.97.81] from /home/rails/.rvm/gems/ruby-1.8.7-p302/gems/bundler-1.0.3/lib/bundler/source.rb:594:in `cache_path'
** [out :: 178.77.97.81] from /home/rails/.rvm/gems/ruby-1.8.7-p302/gems/bundler-1.0.3/lib/bundler/source.rb:653:in `cached?'
** [out :: 178.77.97.81] from /home/rails/.rvm/gems/ruby-1.8.7-p302/gems/bundler-1.0.3/lib/bundler/source.rb:603:in `cache'
** [out :: 178.77.97.81] from /home/rails/.rvm/gems/ruby-1.8.7-p302/gems/bundler-1.0.3/lib/bundler/source.rb:525:in `specs'
** [out :: 178.77.97.81] from /home/rails/.rvm/gems/ruby-1.8.7-p302/gems/bundler-1.0.3/lib/bundler/lazy_specification.rb:48:in `__materialize__'
** [out :: 178.77.97.81] from /home/rails/.rvm/gems/ruby-1.8.7-p302/gems/bundler-1.0.3/lib/bundler/spec_set.rb:83:in `materialize'
** [out :: 178.77.97.81] from /home/rails/.rvm/gems/ruby-1.8.7-p302/gems/bundler-1.0.3/lib/bundler/spec_set.rb:81:in `map!'
** [out :: 178.77.97.81] from /home/rails/.rvm/gems/ruby-1.8.7-p302/gems/bundler-1.0.3/lib/bundler/spec_set.rb:81:in `materialize'
** [out :: 178.77.97.81] from /home/rails/.rvm/gems/ruby-1.8.7-p302/gems/bundler-1.0.3/lib/bundler/definition.rb:93:in `specs'
** [out :: 178.77.97.81] from /home/rails/.rvm/gems/ruby-1.8.7-p302/gems/bundler-1.0.3/lib/bundler/definition.rb:88:in `resolve_remotely!'
** [out :: 178.77.97.81] from /home/rails/.rvm/gems/ruby-1.8.7-p302/gems/bundler-1.0.3/lib/bundler/installer.rb:35:in `run'
** [out :: 178.77.97.81] from /home/rails/.rvm/gems/ruby-1.8.7-p302/gems/bundler-1.0.3/lib/bundler/installer.rb:8:in `install'
** [out :: 178.77.97.81] from /home/rails/.rvm/gems/ruby-1.8.7-p302/gems/bundler-1.0.3/lib/bundler/cli.rb:221:in `install'
** [out :: 178.77.97.81] from /home/rails/.rvm/gems/ruby-1.8.7-p302/gems/bundler-1.0.3/lib/bundler/vendor/thor/task.rb:22:in `send'
** [out :: 178.77.97.81] from /home/rails/.rvm/gems/ruby-1.8.7-p302/gems/bundler-1.0.3/lib/bundler/vendor/thor/task.rb:22:in `run'
** [out :: 178.77.97.81] from /home/rails/.rvm/gems/ruby-1.8.7-p302/gems/bundler-1.0.3/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
** [out :: 178.77.97.81] from /home/rails/.rvm/gems/ruby-1.8.7-p302/gems/bundler-1.0.3/lib/bundler/vendor/thor.rb:246:in `dispatch'
** [out :: 178.77.97.81] from /home/rails/.rvm/gems/ruby-1.8.7-p302/gems/bundler-1.0.3/lib/bundler/vendor/thor/base.rb:389:in `start'
** [out :: 178.77.97.81] from /home/rails/.rvm/gems/ruby-1.8.7-p302/gems/bundler-1.0.3/bin/bundle:13
** [out :: 178.77.97.81] from /home/rails/.rvm/gems/ruby-1.8.7-p302/bin/bundle:19:in `load'
** [out :: 178.77.97.81] from /home/rails/.rvm/gems/ruby-1.8.7-p302/bin/bundle:19
command finished
failed: "sh -c 'bundle install --gemfile /var/www/loudsquare/releases/20110201155636/Gemfile --path /var/www/loudsquare/shared/bundle --deployment --quiet --without development test'" on 178.77.97.81
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment