Create a gist now

Instantly share code, notes, and snippets.

Bundler::GemNotFound: Could not find rake-0.9.2.2 in any of the sources
load 'deploy'
# Uncomment if you are using Rails' asset pipeline
load 'deploy/assets'
Dir['vendor/gems/*/recipes/*.rb','vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
load 'config/deploy' # remove this line to skip loading any of the default tasks
require 'torquebox-capistrano-support'
require 'bundler/capistrano'
set :use_sudo, false
set :rvm_type, :system
set :rvm_ruby_string, 'jruby-1.6.7@entercamp'
require "rvm/capistrano" # Load RVM's capistrano plugin.
set :stages, %w(staging production)
set :default_stage, "staging"
require 'capistrano/ext/multistage'
set :application, "entercamp"
# ssh to the deploy server
default_run_options[:pty] = true
# setup scm:
set :repository, "git@bitbucket.org:myapp.git"
set :deploy_via, :remote_cache
set :scm_username, "myusername"
set :scm, :git
set :scm_verbose, "true"
set :branch, "master"
ssh_options[:forward_agent] = true
# set path
set(:releases_path) { File.join(deploy_to, version_dir) }
set(:shared_path) { File.join(deploy_to, shared_dir) }
set(:current_path) { File.join(deploy_to, current_dir) }
set(:release_path) { File.join(releases_path, release_name) }
# set gems
set :bundle_without, [:development,:test]
namespace :rvm do
task :trust_rvmrc do
run "rvm rvmrc trust #{current_release}"
end
end
namespace :deploy do
task :start do
run "export LAUNCH_JBOSS_IN_BACKGROUND=1; rvm_path=/usr/local/rvm /usr/local/rvm/bin/rvm-shell 'jruby-1.6.7@entercamp' -c 'jruby -S torquebox run'"
end
task :bootstrap do
run "cd #{release_path}; jruby -S bundle exec rake bootstrap:roughly RAILS_ENV=#{rails_env}"
end
end
$ cap staging deploy
triggering load callbacks
* executing `staging'
triggering start callbacks for `deploy'
* executing `multistage:ensure'
* executing `deploy'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
updating the cached checkout on all servers
executing locally: "git ls-remote git@bitbucket.org:larryzhao/entercamp.git master"
command finished in 3255ms
* executing "if [ -d /opt/app/deploy/entercamp/shared/cached-copy ]; then cd /opt/app/deploy/entercamp/shared/cached-copy && git fetch origin && git fetch --tags origin && git reset --hard 99afe33daebfe546ac16b3c0729b00ddf836ecac && git clean -d -x -f; else git clone git@bitbucket.org:larryzhao/entercamp.git /opt/app/deploy/entercamp/shared/cached-copy && cd /opt/app/deploy/entercamp/shared/cached-copy && git checkout -b deploy 99afe33daebfe546ac16b3c0729b00ddf836ecac; fi"
servers: ["chicago"]
[chicago] executing command
** [chicago :: out] remote: Counting objects: 15, done.
** [chicago :: out] remote: Compressing objects: 12% (1/8)
** [chicago :: out] remote: Compressing objects: 25% (2/8)
** [chicago :: out] remote: Compressing objects: 37% (3/8)
** [chicago :: out] remote: Compressing objects: 50% (4/8)
** [chicago :: out] remote: Compressing objects: 62% (5/8)
** [chicago :: out] remote: Compressing objects: 75% (6/8)
** [chicago :: out] remote: Compressing objects: 87% (7/8)
remote: Compressing objects: 100% (8/8), done.
** [chicago :: out] remote: Total 8 (delta 6), reused 0 (delta 0)
** [chicago :: out] Unpacking objects: 12% (1/8)
** [chicago :: out] Unpacking objects: 25% (2/8)
** [chicago :: out] Unpacking objects: 37% (3/8)
** [chicago :: out] Unpacking objects: 50% (4/8)
** [chicago :: out] Unpacking objects: 62% (5/8)
** [chicago :: out] Unpacking objects: 75% (6/8)
** [chicago :: out] Unpacking objects: 87% (7/8)
Unpacking objects: 100% (8/8), done.ts: 100% (8/8)
** [chicago :: out] From bitbucket.org:larryzhao/entercamp
** 851fb12..99afe33 master -> origin/master
** [chicago :: out] HEAD is now at 99afe33 capi
command finished in 10523ms
copying the cached version to /opt/app/deploy/entercamp/releases/20120627214146
* executing "cp -RPp /opt/app/deploy/entercamp/shared/cached-copy /opt/app/deploy/entercamp/releases/20120627214146 && (echo 99afe33daebfe546ac16b3c0729b00ddf836ecac > /opt/app/deploy/entercamp/releases/20120627214146/REVISION)"
servers: ["chicago"]
[chicago] executing command
command finished in 853ms
* executing `deploy:finalize_update'
triggering before callbacks for `deploy:finalize_update'
* executing `deploy:assets:symlink'
* executing "rm -rf /opt/app/deploy/entercamp/releases/20120627214146/public/assets &&\\\n mkdir -p /opt/app/deploy/entercamp/releases/20120627214146/public &&\\\n mkdir -p /opt/app/deploy/entercamp/shared/assets &&\\\n ln -s /opt/app/deploy/entercamp/shared/assets /opt/app/deploy/entercamp/releases/20120627214146/public/assets"
servers: ["chicago"]
[chicago] executing command
command finished in 660ms
* executing "chmod -R g+w /opt/app/deploy/entercamp/releases/20120627214146"
servers: ["chicago"]
[chicago] executing command
command finished in 526ms
* executing "rm -rf /opt/app/deploy/entercamp/releases/20120627214146/log /opt/app/deploy/entercamp/releases/20120627214146/public/system /opt/app/deploy/entercamp/releases/20120627214146/tmp/pids &&\\\n mkdir -p /opt/app/deploy/entercamp/releases/20120627214146/public &&\\\n mkdir -p /opt/app/deploy/entercamp/releases/20120627214146/tmp"
servers: ["chicago"]
[chicago] executing command
command finished in 595ms
* executing "ln -s /opt/app/deploy/entercamp/shared/system /opt/app/deploy/entercamp/releases/20120627214146/public/system"
servers: ["chicago"]
[chicago] executing command
command finished in 610ms
* executing "ln -s /opt/app/deploy/entercamp/shared/log /opt/app/deploy/entercamp/releases/20120627214146/log"
servers: ["chicago"]
[chicago] executing command
command finished in 725ms
* executing "ln -s /opt/app/deploy/entercamp/shared/pids /opt/app/deploy/entercamp/releases/20120627214146/tmp/pids"
servers: ["chicago"]
[chicago] executing command
command finished in 714ms
triggering after callbacks for `deploy:finalize_update'
* executing `bundle:install'
* executing "ls -x /opt/app/deploy/entercamp/releases"
servers: ["chicago"]
[chicago] executing command
command finished in 723ms
* executing "cd /opt/app/deploy/entercamp/releases/20120627214146 && /usr/local/rvm/rubies/jruby-1.6.7/bin/jruby --1.9 -S bundle install --gemfile /opt/app/deploy/entercamp/releases/20120627214146/Gemfile --path /opt/app/deploy/entercamp/shared/bundle --without development test"
servers: ["chicago"]
[chicago] executing command
** [out :: chicago] Using rake (0.9.2.2)
** [out :: chicago]
** [out :: chicago] Using i18n (0.6.0)
** [out :: chicago]
** [out :: chicago] Using multi_json (1.0.4)
** [out :: chicago]
** [out :: chicago] Using activesupport (3.2.1)
** [out :: chicago]
** [out :: chicago] Using builder (3.0.0)
** [out :: chicago]
** [out :: chicago] Using activemodel (3.2.1)
** [out :: chicago]
** [out :: chicago] Using erubis (2.7.0)
** [out :: chicago]
** [out :: chicago] Using journey (1.0.4)
** [out :: chicago]
** [out :: chicago] Using rack (1.4.1)
** [out :: chicago]
** [out :: chicago] Using rack-cache (1.2)
** [out :: chicago]
** [out :: chicago] Using rack-test (0.6.1)
** [out :: chicago]
** [out :: chicago] Using hike (1.2.1)
** [out :: chicago]
** [out :: chicago] Using tilt (1.3.3)
** [out :: chicago]
** [out :: chicago] Using sprockets (2.1.3)
** [out :: chicago]
** [out :: chicago] Using actionpack (3.2.1)
** [out :: chicago]
** [out :: chicago] Using mime-types (1.19)
** [out :: chicago]
** [out :: chicago] Using polyglot (0.3.3)
** [out :: chicago]
** [out :: chicago] Using treetop (1.4.10)
** [out :: chicago]
** [out :: chicago] Using mail (2.4.3)
** [out :: chicago]
** [out :: chicago] Using actionmailer (3.2.1)
** [out :: chicago]
** [out :: chicago] Using active_utils (1.0.3)
** [out :: chicago]
** [out :: chicago] Using json (1.6.7)
** [out :: chicago]
** [out :: chicago] Using money (5.0.0)
** [out :: chicago]
** [out :: chicago] Using nokogiri (1.5.5)
** [out :: chicago]
** [out :: chicago] Using activemerchant (1.24.0)
** [out :: chicago]
** [out :: chicago] Using arel (3.0.2)
** [out :: chicago]
** [out :: chicago] Using tzinfo (0.3.33)
** [out :: chicago]
** [out :: chicago] Using activerecord (3.2.1)
** [out :: chicago]
** [out :: chicago] Using activeresource (3.2.1)
** [out :: chicago]
** [out :: chicago] Using addressable (2.2.8)
** [out :: chicago]
** [out :: chicago] Using bcrypt-ruby (3.0.1)
** [out :: chicago]
** [out :: chicago] Using bootstrap-sass (2.0.4.0)
** [out :: chicago]
** [out :: chicago] Using bouncy-castle-java (1.5.0146.1)
** [out :: chicago]
** [out :: chicago] Using bson (1.6.4)
** [out :: chicago]
** [out :: chicago] Using bson_ext (1.6.4)
** [out :: chicago]
** [out :: chicago] Using chinese_pinyin (0.4.1)
** [out :: chicago]
** [out :: chicago] Using chronic (0.6.7)
** [out :: chicago]
** [out :: chicago] Using cocaine (0.2.1)
** [out :: chicago]
** [out :: chicago] Using coffee-script-source (1.3.3)
** [out :: chicago]
** [out :: chicago] Using execjs (1.4.0)
** [out :: chicago]
** [out :: chicago] Using coffee-script (2.2.0)
** [out :: chicago]
** [out :: chicago] Using rack-ssl (1.3.2)
** [out :: chicago]
** [out :: chicago] Using rdoc (3.12)
** [out :: chicago]
** [out :: chicago] Using thor (0.14.6)
** [out :: chicago]
** [out :: chicago] Using railties (3.2.1)
** [out :: chicago]
** [out :: chicago] Using coffee-rails (3.2.2)
** [out :: chicago]
** [out :: chicago] Using orm_adapter (0.3.0)
** [out :: chicago]
** [out :: chicago] Using warden (1.2.1)
** [out :: chicago]
** [out :: chicago] Using devise (2.1.2)
** [out :: chicago]
** [out :: chicago] Using devise-async (0.2.0)
** [out :: chicago]
** [out :: chicago] Using devise-encryptable (0.1.1)
** [out :: chicago]
** [out :: chicago] Using multipart-post (1.1.5)
** [out :: chicago]
** [out :: chicago] Using faraday (0.7.6)
** [out :: chicago]
** [out :: chicago] Using sass (3.1.19)
** [out :: chicago]
** [out :: chicago] Using sass-rails (3.2.5)
** [out :: chicago]
** [out :: chicago] Using font-awesome-sass-rails (2.0.0.0)
** [out :: chicago]
** [out :: chicago] Using i18n-js (2.1.2)
** [out :: chicago]
** [out :: chicago] Using jquery-rails (2.0.2)
** [out :: chicago]
** [out :: chicago] Using jruby-openssl (0.7.7)
** [out :: chicago]
** [out :: chicago] Using mail_view (1.0.1) from https://github.com/37signals/mail_view.git (at master)
** [out :: chicago]
** [out :: chicago] Using mongo (1.6.2)
** [out :: chicago]
** [out :: chicago] Using mongoid (2.4.11)
** [out :: chicago]
** [out :: chicago] Using paperclip (3.1.2)
** [out :: chicago]
** [out :: chicago] Using mongoid-paperclip (0.0.7)
** [out :: chicago]
** [out :: chicago] Using multi_xml (0.4.4)
** [out :: chicago]
** [out :: chicago] Using oa-core (0.3.2)
** [out :: chicago]
** [out :: chicago] Using oauth (0.4.6)
** [out :: chicago]
** [out :: chicago] Using oauth2 (0.5.2)
** [out :: chicago]
** [out :: chicago] Using oa-oauth (0.3.2)
** [out :: chicago]
** [out :: chicago] Using rack-protection (1.2.0)
** [out :: chicago]
** [out :: chicago] Using bundler (1.1.4)
** [out :: chicago]
** [out :: chicago] Using rails (3.2.1)
** [out :: chicago]
** [out :: chicago] Using redis (2.2.2)
** [out :: chicago]
** [out :: chicago] Using redis-namespace (1.0.3)
** [out :: chicago]
** [out :: chicago] Using sinatra (1.3.2)
** [out :: chicago]
** [out :: chicago] Using vegas (0.1.11)
** [out :: chicago]
** [out :: chicago] Using resque (1.20.0)
** [out :: chicago]
** [out :: chicago] Using therubyrhino (1.73.4)
** [out :: chicago]
** [out :: chicago] Using twitter-text (1.4.17)
** [out :: chicago]
** [out :: chicago] Using uglifier (1.2.4)
** [out :: chicago]
** [out :: chicago] Your bundle is complete! It was installed into /opt/app/deploy/entercamp/shared/bundle
command finished in 7777ms
triggering after callbacks for `deploy:update_code'
* executing `deploy:assets:precompile'
triggering before callbacks for `deploy:assets:precompile'
* executing `dump_bundle_config'
* executing "cat /opt/app/deploy/entercamp/releases/20120627214146/.bundle/config"
servers: ["chicago"]
[chicago] executing command
** [out :: chicago] ---
** [out :: chicago] BUNDLE_PATH: /opt/app/deploy/entercamp/shared/bundle
** [out :: chicago] BUNDLE_DISABLE_SHARED_GEMS: '1'
** [out :: chicago] BUNDLE_WITHOUT: development:test
** [out :: chicago] ...
command finished in 638ms
* executing "cd /opt/app/deploy/entercamp/releases/20120627214146 && /usr/local/rvm/rubies/jruby-1.6.7/bin/jruby --1.9 -S bundle exec rake RAILS_ENV=staging RAILS_GROUPS=assets assets:precompile"
servers: ["chicago"]
[chicago] executing command
** [out :: chicago] Bundler::GemNotFound: Could not find paperclip-3.1.2 in any of the sources
** [out :: chicago] materialize at /usr/local/rvm/gems/jruby-1.6.7@global/gems/bundler-1.1.4/lib/bundler/spec_set.rb:90
** [out :: chicago] map! at org/jruby/RubyArray.java:2371
** [out :: chicago] materialize at /usr/local/rvm/gems/jruby-1.6.7@global/gems/bundler-1.1.4/lib/bundler/spec_set.rb:83
** [out :: chicago] specs at /usr/local/rvm/gems/jruby-1.6.7@global/gems/bundler-1.1.4/lib/bundler/definition.rb:127
** [out :: chicago] specs_for at /usr/local/rvm/gems/jruby-1.6.7@global/gems/bundler-1.1.4/lib/bundler/definition.rb:172
** [out :: chicago]
** [out :: chicago] requested_specs at /usr/local/rvm/gems/jruby-1.6.7@global/gems/bundler-1.1.4/lib/bundler/definition.rb:161
** [out :: chicago] requested_specs at /usr/local/rvm/gems/jruby-1.6.7@global/gems/bundler-1.1.4/lib/bundler/environment.rb:23
** [out :: chicago] setup at /usr/local/rvm/gems/jruby-1.6.7@global/gems/bundler-1.1.4/lib/bundler/runtime.rb:11
** [out :: chicago] setup at /usr/local/rvm/gems/jruby-1.6.7@global/gems/bundler-1.1.4/lib/bundler.rb:107
** [out :: chicago] (root) at /usr/local/rvm/gems/jruby-
** [out :: chicago] 1.6.7@global/gems/bundler-1.1.4/lib/bundler/setup.rb:17
command finished in 9635ms
*** [deploy:update_code] rolling back
* executing "rm -rf /opt/app/deploy/entercamp/releases/20120627214146; true"
servers: ["chicago"]
[chicago] executing command
command finished in 637ms
failed: "rvm_path=/usr/local/rvm /usr/local/rvm/bin/rvm-shell 'jruby-1.6.7@entercamp' -c 'cd /opt/app/deploy/entercamp/releases/20120627214146 && /usr/local/rvm/rubies/jruby-1.6.7/bin/jruby --1.9 -S bundle exec rake RAILS_ENV=staging RAILS_GROUPS=assets assets:precompile'" on chicago
$ cap staging deploy
triggering load callbacks
* executing `staging'
triggering start callbacks for `deploy'
* executing `multistage:ensure'
* executing `deploy'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
updating the cached checkout on all servers
executing locally: "git ls-remote git@bitbucket.org:larryzhao/entercamp.git master"
key_read: uudecode AAAAB3NzaC1yc2EAAAABIwAAAQEAubiN81eDcafrgMeLzaFPsw2kNvEcqTKl/VqLat/MaB33pZy0y3rJZtnqwR2qOOvbwKZYKiEO1O6VqNEBxKvJJelCq0dTXWT5pbO2gDXC6h6QDXCaHo6pOHGPUy+YBaGQRGuSusMEASYiWunYN0vCAI8QaXnWMXNMdFP3jHAJH0eDsoiGnLPBlBp4TNm6rYI74nMzgz3B9IikW4WVK+dc8KZJZWYjAuORU3jc1c/NPskD2ASinf8v3xnfXeukU0sJ5N6m5E8VLjObPEO+mN2t/FZTMZLiFqPWc/ALSqnMnnhwrNi2rbfg/rd/IpL8Le3pSBne8+seeFVBoGqzHM9yXw==chicago,192.168.1.107 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC+67QolLTJdySjP//j6p/cvEBufsqECkYB2KsyvfK8ol6iGW981cw2j6a29d4EeA2ypcT3+qwEvyKXpApgxKGq4tQ9a+VNdFhbtrGYtKRgEZ2k1aUnb1RgSRTwQaqxoW8xpJb/d8ylhUncgpAi+IGNnqvZxOiAzKnOaj0OakAg0GovmZA5Y2tvMe4zgq+ooMFVoMeg+1CSGWZPWJTfX//T5Kf1+aRyYYc7m5NL4w4IVyl+8DapbLpvJZqbPbOApSHrbQc/AJkkAwVfwtQQo+Nq4ijFepK4ZSggGbOE2uXw8crfBiJsWn+h/d6mBf9y5kF8wCKb/F0Rn5EjWLbwhjB9
failed
command finished in 5196ms
* executing "if [ -d /opt/app/deploy/entercamp/shared/cached-copy ]; then cd /opt/app/deploy/entercamp/shared/cached-copy && git fetch origin && git fetch --tags origin && git reset --hard 7c66de5dc9ad3912725269e810984e64201d5670 && git clean -d -x -f; else git clone git@bitbucket.org:larryzhao/entercamp.git /opt/app/deploy/entercamp/shared/cached-copy && cd /opt/app/deploy/entercamp/shared/cached-copy && git checkout -b deploy 7c66de5dc9ad3912725269e810984e64201d5670; fi"
servers: ["chicago"]
[chicago] executing command
** [chicago :: out] HEAD is now at 7c66de5 capi
** [chicago :: out]
command finished in 13603ms
copying the cached version to /opt/app/deploy/entercamp/releases/20120627162919
* executing "cp -RPp /opt/app/deploy/entercamp/shared/cached-copy /opt/app/deploy/entercamp/releases/20120627162919 && (echo 7c66de5dc9ad3912725269e810984e64201d5670 > /opt/app/deploy/entercamp/releases/20120627162919/REVISION)"
servers: ["chicago"]
[chicago] executing command
command finished in 429ms
* executing `deploy:finalize_update'
* executing "chmod -R g+w /opt/app/deploy/entercamp/releases/20120627162919"
servers: ["chicago"]
[chicago] executing command
command finished in 287ms
* executing "rm -rf /opt/app/deploy/entercamp/releases/20120627162919/log /opt/app/deploy/entercamp/releases/20120627162919/public/system /opt/app/deploy/entercamp/releases/20120627162919/tmp/pids &&\\\n mkdir -p /opt/app/deploy/entercamp/releases/20120627162919/public &&\\\n mkdir -p /opt/app/deploy/entercamp/releases/20120627162919/tmp"
servers: ["chicago"]
[chicago] executing command
command finished in 267ms
* executing "ln -s /opt/app/deploy/entercamp/shared/system /opt/app/deploy/entercamp/releases/20120627162919/public/system"
servers: ["chicago"]
[chicago] executing command
command finished in 310ms
* executing "ln -s /opt/app/deploy/entercamp/shared/log /opt/app/deploy/entercamp/releases/20120627162919/log"
servers: ["chicago"]
[chicago] executing command
command finished in 269ms
* executing "ln -s /opt/app/deploy/entercamp/shared/pids /opt/app/deploy/entercamp/releases/20120627162919/tmp/pids"
servers: ["chicago"]
[chicago] executing command
command finished in 269ms
* executing "find /opt/app/deploy/entercamp/releases/20120627162919/public/images /opt/app/deploy/entercamp/releases/20120627162919/public/stylesheets /opt/app/deploy/entercamp/releases/20120627162919/public/javascripts -exec touch -t 201206271629.20 {} ';'; true"
servers: ["chicago"]
[chicago] executing command
** [out :: chicago] find:
** [out :: chicago] `/opt/app/deploy/entercamp/releases/20120627162919/public/images'
** [out :: chicago] : No such file or directory
** [out :: chicago]
** [out :: chicago] find:
** [out :: chicago] `/opt/app/deploy/entercamp/releases/20120627162919/public/stylesheets'
** [out :: chicago] : No such file or directory
** [out :: chicago]
** [out :: chicago] find:
** [out :: chicago] `/opt/app/deploy/entercamp/releases/20120627162919/public/javascripts'
** [out :: chicago] : No such file or directory
** [out :: chicago]
command finished in 275ms
triggering after callbacks for `deploy:finalize_update'
* executing `bundle:install'
* executing "ls -x /opt/app/deploy/entercamp/releases"
servers: ["chicago"]
[chicago] executing command
command finished in 293ms
* executing "cd /opt/app/deploy/entercamp/releases/20120627162919 && /usr/local/rvm/rubies/jruby-1.6.7/bin/jruby --1.9 -S bundle install --gemfile /opt/app/deploy/entercamp/releases/20120627162919/Gemfile --path /opt/app/deploy/entercamp/shared/bundle --without development test"
servers: ["chicago"]
[chicago] executing command
** [out :: chicago] Using rake (0.9.2.2)
** [out :: chicago]
** [out :: chicago] Using i18n (0.6.0)
** [out :: chicago]
** [out :: chicago] Using multi_json (1.0.4)
** [out :: chicago]
** [out :: chicago] Using activesupport (3.2.1)
** [out :: chicago]
** [out :: chicago] Using builder (3.0.0)
** [out :: chicago]
** [out :: chicago] Using activemodel (3.2.1)
** [out :: chicago]
** [out :: chicago] Using erubis (2.7.0)
** [out :: chicago]
** [out :: chicago] Using journey (1.0.4)
** [out :: chicago]
** [out :: chicago] Using rack (1.4.1)
** [out :: chicago]
** [out :: chicago] Using rack-cache (1.2)
** [out :: chicago]
** [out :: chicago] Using rack-test (0.6.1)
** [out :: chicago]
** [out :: chicago] Using hike (1.2.1)
** [out :: chicago]
** [out :: chicago] Using tilt (1.3.3)
** [out :: chicago]
** [out :: chicago] Using sprockets (2.1.3)
** [out :: chicago]
** [out :: chicago] Using actionpack (3.2.1)
** [out :: chicago]
** [out :: chicago] Using mime-types (1.19)
** [out :: chicago]
** [out :: chicago] Using polyglot (0.3.3)
** [out :: chicago]
** [out :: chicago] Using treetop (1.4.10)
** [out :: chicago]
** [out :: chicago] Using mail (2.4.3)
** [out :: chicago]
** [out :: chicago] Using actionmailer (3.2.1)
** [out :: chicago]
** [out :: chicago] Using active_utils (1.0.3)
** [out :: chicago]
** [out :: chicago] Using json (1.6.7)
** [out :: chicago]
** [out :: chicago] Using money (5.0.0)
** [out :: chicago]
** [out :: chicago] Using nokogiri (1.5.5)
** [out :: chicago]
** [out :: chicago] Using activemerchant (1.24.0)
** [out :: chicago]
** [out :: chicago] Using arel (3.0.2)
** [out :: chicago]
** [out :: chicago] Using tzinfo (0.3.33)
** [out :: chicago]
** [out :: chicago] Using activerecord (3.2.1)
** [out :: chicago]
** [out :: chicago] Using activeresource (3.2.1)
** [out :: chicago]
** [out :: chicago] Using addressable (2.2.8)
** [out :: chicago]
** [out :: chicago] Using bcrypt-ruby (3.0.1)
** [out :: chicago]
** [out :: chicago] Using bootstrap-sass (2.0.4.0)
** [out :: chicago]
** [out :: chicago] Using bouncy-castle-java (1.5.0146.1)
** [out :: chicago]
** [out :: chicago] Using bson (1.6.4)
** [out :: chicago]
** [out :: chicago] Using bson_ext (1.6.4)
** [out :: chicago]
** [out :: chicago] Using chinese_pinyin (0.4.1)
** [out :: chicago]
** [out :: chicago] Using chronic (0.6.7)
** [out :: chicago]
** [out :: chicago] Using cocaine (0.2.1)
** [out :: chicago]
** [out :: chicago] Using coffee-script-source (1.3.3)
** [out :: chicago]
** [out :: chicago] Using execjs (1.4.0)
** [out :: chicago]
** [out :: chicago] Using coffee-script (2.2.0)
** [out :: chicago]
** [out :: chicago] Using rack-ssl (1.3.2)
** [out :: chicago]
** [out :: chicago] Using rdoc (3.12)
** [out :: chicago]
** [out :: chicago] Using thor (0.14.6)
** [out :: chicago]
** [out :: chicago] Using railties (3.2.1)
** [out :: chicago]
** [out :: chicago] Using coffee-rails (3.2.2)
** [out :: chicago]
** [out :: chicago] Using orm_adapter (0.3.0)
** [out :: chicago]
** [out :: chicago] Using warden (1.2.1)
** [out :: chicago]
** [out :: chicago] Using devise (2.1.2)
** [out :: chicago]
** [out :: chicago] Using devise-async (0.2.0)
** [out :: chicago]
** [out :: chicago] Using devise-encryptable (0.1.1)
** [out :: chicago]
** [out :: chicago] Using multipart-post (1.1.5)
** [out :: chicago]
** [out :: chicago] Using faraday (0.7.6)
** [out :: chicago]
** [out :: chicago] Using sass (3.1.19)
** [out :: chicago]
** [out :: chicago] Using sass-rails (3.2.5)
** [out :: chicago]
** [out :: chicago] Using font-awesome-sass-rails (2.0.0.0)
** [out :: chicago]
** [out :: chicago] Using i18n-js (2.1.2)
** [out :: chicago]
** [out :: chicago] Using jquery-rails (2.0.2)
** [out :: chicago]
** [out :: chicago] Using jruby-openssl (0.7.7)
** [out :: chicago]
** [out :: chicago] Using mail_view (1.0.1) from https://github.com/37signals/mail_view.git (at master)
** [out :: chicago]
** [out :: chicago] Using mongo (1.6.2)
** [out :: chicago]
** [out :: chicago] Using mongoid (2.4.11)
** [out :: chicago]
** [out :: chicago] Using paperclip (3.1.2)
** [out :: chicago]
** [out :: chicago] Using mongoid-paperclip (0.0.7)
** [out :: chicago]
** [out :: chicago] Using multi_xml (0.4.4)
** [out :: chicago]
** [out :: chicago] Using oa-core (0.3.2)
** [out :: chicago]
** [out :: chicago] Using oauth (0.4.6)
** [out :: chicago]
** [out :: chicago] Using oauth2 (0.5.2)
** [out :: chicago]
** [out :: chicago] Using oa-oauth (0.3.2)
** [out :: chicago]
** [out :: chicago] Using rack-protection (1.2.0)
** [out :: chicago]
** [out :: chicago] Using bundler (1.1.4)
** [out :: chicago]
** [out :: chicago] Using rails (3.2.1)
** [out :: chicago]
** [out :: chicago] Using redis (2.2.2)
** [out :: chicago]
** [out :: chicago] Using redis-namespace (1.0.3)
** [out :: chicago]
** [out :: chicago] Using sinatra (1.3.2)
** [out :: chicago]
** [out :: chicago] Using vegas (0.1.11)
** [out :: chicago]
** [out :: chicago] Using resque (1.20.0)
** [out :: chicago]
** [out :: chicago] Using therubyrhino (1.73.4)
** [out :: chicago]
** [out :: chicago] Using twitter-text (1.4.17)
** [out :: chicago]
** [out :: chicago] Using uglifier (1.2.4)
** [out :: chicago]
** [out :: chicago] Your bundle is complete! It was installed into /opt/app/deploy/entercamp/shared/bundle
** [out :: chicago]
command finished in 12624ms
* executing `deploy:create_symlink'
* executing "rm -f /opt/app/deploy/entercamp/current && ln -s /opt/app/deploy/entercamp/releases/20120627162919 /opt/app/deploy/entercamp/current"
servers: ["chicago"]
[chicago] executing command
command finished in 271ms
triggering after callbacks for `deploy:create_symlink'
* executing `deploy:torquebox:deployment_descriptor'
creating deployment descriptor
* executing "cat /dev/null > /usr/local/rvm/gems/jruby-1.6.7/gems/torquebox-server-2.0.3-java/jboss/standalone/deployments/entercamp-knob.yml && echo \"--- \\\n\" >> /usr/local/rvm/gems/jruby-1.6.7/gems/torquebox-server-2.0.3-java/jboss/standalone/deployments/entercamp-knob.yml && echo \"application: \\\n\" >> /usr/local/rvm/gems/jruby-1.6.7/gems/torquebox-server-2.0.3-java/jboss/standalone/deployments/entercamp-knob.yml && echo \" root: /opt/app/deploy/entercamp/releases/20120627162919\\\n\" >> /usr/local/rvm/gems/jruby-1.6.7/gems/torquebox-server-2.0.3-java/jboss/standalone/deployments/entercamp-knob.yml && echo \"ruby: \\\n\" >> /usr/local/rvm/gems/jruby-1.6.7/gems/torquebox-server-2.0.3-java/jboss/standalone/deployments/entercamp-knob.yml && echo \" version: \"1.9\"\\\n\" >> /usr/local/rvm/gems/jruby-1.6.7/gems/torquebox-server-2.0.3-java/jboss/standalone/deployments/entercamp-knob.yml && echo \"environment: \\\n\" >> /usr/local/rvm/gems/jruby-1.6.7/gems/torquebox-server-2.0.3-java/jboss/standalone/deployments/entercamp-knob.yml && echo \" RAILS_ENV: staging\\\n\" >> /usr/local/rvm/gems/jruby-1.6.7/gems/torquebox-server-2.0.3-java/jboss/standalone/deployments/entercamp-knob.yml && echo '' >> /usr/local/rvm/gems/jruby-1.6.7/gems/torquebox-server-2.0.3-java/jboss/standalone/deployments/entercamp-knob.yml"
servers: ["chicago"]
[chicago] executing command
command finished in 277ms
* executing `deploy:cleanup'
* executing "ls -xt /opt/app/deploy/entercamp/releases"
servers: ["chicago"]
[chicago] executing command
command finished in 269ms
*** no old releases to clean up
** transaction: commit
* executing `deploy:restart'
* executing "touch /usr/local/rvm/gems/jruby-1.6.7/gems/torquebox-server-2.0.3-java/jboss/standalone/deployments/entercamp-knob.yml.dodeploy"
servers: ["chicago"]
[chicago] executing command
command finished in 263ms
triggering after callbacks for `deploy'
* executing `rvm:trust_rvmrc'
* executing "rvm rvmrc trust /opt/app/deploy/entercamp/releases/20120627162919"
servers: ["chicago"]
[chicago] executing command
** [out :: chicago] Marked /opt/app/deploy/entercamp/releases/20120627162919/.rvmrc as trusted
** [out :: chicago]
command finished in 427ms
Cashew:entercamp larry$ cap staging deploy
triggering load callbacks
* executing `staging'
triggering start callbacks for `deploy'
* executing `multistage:ensure'
* executing `deploy'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
updating the cached checkout on all servers
executing locally: "git ls-remote git@bitbucket.org:larryzhao/entercamp.git master"
command finished in 5347ms
* executing "if [ -d /opt/app/deploy/entercamp/shared/cached-copy ]; then cd /opt/app/deploy/entercamp/shared/cached-copy && git fetch origin && git fetch --tags origin && git reset --hard 7c66de5dc9ad3912725269e810984e64201d5670 && git clean -d -x -f; else git clone git@bitbucket.org:larryzhao/entercamp.git /opt/app/deploy/entercamp/shared/cached-copy && cd /opt/app/deploy/entercamp/shared/cached-copy && git checkout -b deploy 7c66de5dc9ad3912725269e810984e64201d5670; fi"
servers: ["chicago"]
[chicago] executing command
** [chicago :: out] HEAD is now at 7c66de5 capi
** [chicago :: out]
command finished in 12532ms
copying the cached version to /opt/app/deploy/entercamp/releases/20120627163015
* executing "cp -RPp /opt/app/deploy/entercamp/shared/cached-copy /opt/app/deploy/entercamp/releases/20120627163015 && (echo 7c66de5dc9ad3912725269e810984e64201d5670 > /opt/app/deploy/entercamp/releases/20120627163015/REVISION)"
servers: ["chicago"]
[chicago] executing command
command finished in 435ms
* executing `deploy:finalize_update'
triggering before callbacks for `deploy:finalize_update'
* executing `deploy:assets:symlink'
* executing "rm -rf /opt/app/deploy/entercamp/releases/20120627163015/public/assets &&\\\n mkdir -p /opt/app/deploy/entercamp/releases/20120627163015/public &&\\\n mkdir -p /opt/app/deploy/entercamp/shared/assets &&\\\n ln -s /opt/app/deploy/entercamp/shared/assets /opt/app/deploy/entercamp/releases/20120627163015/public/assets"
servers: ["chicago"]
[chicago] executing command
command finished in 307ms
* executing "chmod -R g+w /opt/app/deploy/entercamp/releases/20120627163015"
servers: ["chicago"]
[chicago] executing command
command finished in 283ms
* executing "rm -rf /opt/app/deploy/entercamp/releases/20120627163015/log /opt/app/deploy/entercamp/releases/20120627163015/public/system /opt/app/deploy/entercamp/releases/20120627163015/tmp/pids &&\\\n mkdir -p /opt/app/deploy/entercamp/releases/20120627163015/public &&\\\n mkdir -p /opt/app/deploy/entercamp/releases/20120627163015/tmp"
servers: ["chicago"]
[chicago] executing command
command finished in 331ms
* executing "ln -s /opt/app/deploy/entercamp/shared/system /opt/app/deploy/entercamp/releases/20120627163015/public/system"
servers: ["chicago"]
[chicago] executing command
command finished in 306ms
* executing "ln -s /opt/app/deploy/entercamp/shared/log /opt/app/deploy/entercamp/releases/20120627163015/log"
servers: ["chicago"]
[chicago] executing command
command finished in 307ms
* executing "ln -s /opt/app/deploy/entercamp/shared/pids /opt/app/deploy/entercamp/releases/20120627163015/tmp/pids"
servers: ["chicago"]
[chicago] executing command
command finished in 307ms
triggering after callbacks for `deploy:finalize_update'
* executing `bundle:install'
* executing "ls -x /opt/app/deploy/entercamp/releases"
servers: ["chicago"]
[chicago] executing command
command finished in 391ms
* executing "cd /opt/app/deploy/entercamp/releases/20120627163015 && /usr/local/rvm/rubies/jruby-1.6.7/bin/jruby --1.9 -S bundle install --gemfile /opt/app/deploy/entercamp/releases/20120627163015/Gemfile --path /opt/app/deploy/entercamp/shared/bundle --without development test"
servers: ["chicago"]
[chicago] executing command
** [out :: chicago] Using rake (0.9.2.2)
** [out :: chicago]
** [out :: chicago] Using i18n (0.6.0)
** [out :: chicago]
** [out :: chicago] Using multi_json (1.0.4)
** [out :: chicago]
** [out :: chicago] Using activesupport (3.2.1)
** [out :: chicago]
** [out :: chicago] Using builder (3.0.0)
** [out :: chicago]
** [out :: chicago] Using activemodel (3.2.1)
** [out :: chicago]
** [out :: chicago] Using erubis (2.7.0)
** [out :: chicago]
** [out :: chicago] Using journey (1.0.4)
** [out :: chicago]
** [out :: chicago] Using rack (1.4.1)
** [out :: chicago]
** [out :: chicago] Using rack-cache (1.2)
** [out :: chicago]
** [out :: chicago] Using rack-test (0.6.1)
** [out :: chicago]
** [out :: chicago] Using hike (1.2.1)
** [out :: chicago]
** [out :: chicago] Using tilt (1.3.3)
** [out :: chicago]
** [out :: chicago] Using sprockets (2.1.3)
** [out :: chicago]
** [out :: chicago] Using actionpack (3.2.1)
** [out :: chicago]
** [out :: chicago] Using mime-types (1.19)
** [out :: chicago]
** [out :: chicago] Using polyglot (0.3.3)
** [out :: chicago]
** [out :: chicago] Using treetop (1.4.10)
** [out :: chicago]
** [out :: chicago] Using mail (2.4.3)
** [out :: chicago]
** [out :: chicago] Using actionmailer (3.2.1)
** [out :: chicago]
** [out :: chicago] Using active_utils (1.0.3)
** [out :: chicago]
** [out :: chicago] Using json (1.6.7)
** [out :: chicago]
** [out :: chicago] Using money (5.0.0)
** [out :: chicago]
** [out :: chicago] Using nokogiri (1.5.5)
** [out :: chicago]
** [out :: chicago] Using activemerchant (1.24.0)
** [out :: chicago]
** [out :: chicago] Using arel (3.0.2)
** [out :: chicago]
** [out :: chicago] Using tzinfo (0.3.33)
** [out :: chicago]
** [out :: chicago] Using activerecord (3.2.1)
** [out :: chicago]
** [out :: chicago] Using activeresource (3.2.1)
** [out :: chicago]
** [out :: chicago] Using addressable (2.2.8)
** [out :: chicago]
** [out :: chicago] Using bcrypt-ruby (3.0.1)
** [out :: chicago]
** [out :: chicago] Using bootstrap-sass (2.0.4.0)
** [out :: chicago]
** [out :: chicago] Using bouncy-castle-java (1.5.0146.1)
** [out :: chicago]
** [out :: chicago] Using bson (1.6.4)
** [out :: chicago]
** [out :: chicago] Using bson_ext (1.6.4)
** [out :: chicago]
** [out :: chicago] Using chinese_pinyin (0.4.1)
** [out :: chicago]
** [out :: chicago] Using chronic (0.6.7)
** [out :: chicago]
** [out :: chicago] Using cocaine (0.2.1)
** [out :: chicago]
** [out :: chicago] Using coffee-script-source (1.3.3)
** [out :: chicago]
** [out :: chicago] Using execjs (1.4.0)
** [out :: chicago]
** [out :: chicago] Using coffee-script (2.2.0)
** [out :: chicago]
** [out :: chicago] Using rack-ssl (1.3.2)
** [out :: chicago]
** [out :: chicago] Using rdoc (3.12)
** [out :: chicago]
** [out :: chicago] Using thor (0.14.6)
** [out :: chicago]
** [out :: chicago] Using railties (3.2.1)
** [out :: chicago]
** [out :: chicago] Using coffee-rails (3.2.2)
** [out :: chicago]
** [out :: chicago] Using orm_adapter (0.3.0)
** [out :: chicago]
** [out :: chicago] Using warden (1.2.1)
** [out :: chicago]
** [out :: chicago] Using devise (2.1.2)
** [out :: chicago]
** [out :: chicago] Using devise-async (0.2.0)
** [out :: chicago]
** [out :: chicago] Using devise-encryptable (0.1.1)
** [out :: chicago]
** [out :: chicago] Using multipart-post (1.1.5)
** [out :: chicago]
** [out :: chicago] Using faraday (0.7.6)
** [out :: chicago]
** [out :: chicago] Using sass (3.1.19)
** [out :: chicago]
** [out :: chicago] Using sass-rails (3.2.5)
** [out :: chicago]
** [out :: chicago] Using font-awesome-sass-rails (2.0.0.0)
** [out :: chicago]
** [out :: chicago] Using i18n-js (2.1.2)
** [out :: chicago]
** [out :: chicago] Using jquery-rails (2.0.2)
** [out :: chicago]
** [out :: chicago] Using jruby-openssl (0.7.7)
** [out :: chicago]
** [out :: chicago] Using mail_view (1.0.1) from https://github.com/37signals/mail_view.git (at master)
** [out :: chicago]
** [out :: chicago] Using mongo (1.6.2)
** [out :: chicago]
** [out :: chicago] Using mongoid (2.4.11)
** [out :: chicago]
** [out :: chicago] Using paperclip (3.1.2)
** [out :: chicago]
** [out :: chicago] Using mongoid-paperclip (0.0.7)
** [out :: chicago]
** [out :: chicago] Using multi_xml (0.4.4)
** [out :: chicago]
** [out :: chicago] Using oa-core (0.3.2)
** [out :: chicago]
** [out :: chicago] Using oauth (0.4.6)
** [out :: chicago]
** [out :: chicago] Using oauth2 (0.5.2)
** [out :: chicago]
** [out :: chicago] Using oa-oauth (0.3.2)
** [out :: chicago]
** [out :: chicago] Using rack-protection (1.2.0)
** [out :: chicago]
** [out :: chicago] Using bundler (1.1.4)
** [out :: chicago]
** [out :: chicago] Using rails (3.2.1)
** [out :: chicago]
** [out :: chicago] Using redis (2.2.2)
** [out :: chicago]
** [out :: chicago] Using redis-namespace (1.0.3)
** [out :: chicago]
** [out :: chicago] Using sinatra (1.3.2)
** [out :: chicago]
** [out :: chicago] Using vegas (0.1.11)
** [out :: chicago]
** [out :: chicago] Using resque (1.20.0)
** [out :: chicago]
** [out :: chicago] Using therubyrhino (1.73.4)
** [out :: chicago]
** [out :: chicago] Using twitter-text (1.4.17)
** [out :: chicago]
** [out :: chicago] Using uglifier (1.2.4)
** [out :: chicago]
** [out :: chicago] Your bundle is complete! It was installed into /opt/app/deploy/entercamp/shared/bundle
** [out :: chicago]
command finished in 12801ms
triggering after callbacks for `deploy:update_code'
* executing `deploy:assets:precompile'
* executing "cd /opt/app/deploy/entercamp/releases/20120627163015 && /usr/local/rvm/rubies/jruby-1.6.7/bin/jruby --1.9 -S bundle exec rake RAILS_ENV=staging RAILS_GROUPS=assets assets:precompile"
servers: ["chicago"]
[chicago] executing command
** [out :: chicago] Bundler::GemNotFound: Could not find rake-0.9.2.2 in any of the sources
** [out :: chicago]
** [out :: chicago] materialize at /usr/local/rvm/gems/jruby-1.6.7@global/gems/bundler-1.1.4/lib/bundler/spec_set.rb:90
** [out :: chicago]
** [out :: chicago] map! at org/jruby/RubyArray.java:2371
** [out :: chicago]
** [out :: chicago] materialize at /usr/local/rvm/gems/jruby-1.6.7@global/gems/bundler-1.1.4/lib/bundler/spec_set.rb:83
** [out :: chicago]
** [out :: chicago] specs at /usr/local/rvm/gems/jruby-1.6.7@global/gems/bundler-1.1.4/lib/bundler/definition.rb:127
** [out :: chicago]
** [out :: chicago] specs_for at /usr/local/rvm/gems/jruby-1.6.7@global/gems/bundler-1.1.4/lib/bundler/definition.rb:172
** [out :: chicago]
** [out :: chicago] requested_specs at /usr/local/rvm/gems/jruby-1.6.7@global/gems/bundler-1.1.4/lib/bundler/definition.rb:161
** [out :: chicago]
** [out :: chicago] requested_specs at /usr/local/rvm/gems/jruby-1.6.7@global/gems/bundler-1.1.4/lib/bundler/environment.rb:23
** [out :: chicago]
** [out :: chicago] setup at /usr/local/rvm/gems/jruby-1.6.7@global/gems/bundler-1.1.4/lib/bundler/runtime.rb:11
** [out :: chicago]
** [out :: chicago] setup at /usr/local/rvm/gems/jruby-1.6.7@global/gems/bundler-1.1.4/lib/bundler.rb:107
** [out :: chicago]
** [out :: chicago] (root) at /usr/local/rvm/gems/jruby-1.6
** [out :: chicago] .7@global/gems/bundler-1.1.4/lib/bundler/setup.rb:17
** [out :: chicago]
command finished in 15575ms
*** [deploy:update_code] rolling back
* executing "rm -rf /opt/app/deploy/entercamp/releases/20120627163015; true"
servers: ["chicago"]
[chicago] executing command
command finished in 314ms
failed: "rvm_path=/usr/local/rvm /usr/local/rvm/bin/rvm-shell 'jruby-1.6.7@entercamp' -c 'cd /opt/app/deploy/entercamp/releases/20120627163015 && /usr/local/rvm/rubies/jruby-1.6.7/bin/jruby --1.9 -S bundle exec rake RAILS_ENV=staging RAILS_GROUPS=assets assets:precompile'" on chicago
server "chicago", :app, :web, :db, :primary => true
set :rails_env, "staging"
set :keep_releases, 3
# TorqueBox specific
set :app_ruby_version, '1.9'
set :torquebox_home, '/usr/local/rvm/gems/jruby-1.6.7/gems/torquebox-server-2.0.3-java'
set :jboss_home, '/usr/local/rvm/gems/jruby-1.6.7/gems/torquebox-server-2.0.3-java/jboss'
set :jruby_home, '/usr/local/rvm/rubies/jruby-1.6.7'
set :jboss_control_style, :binscripts
set :jruby_opts, '--1.9'
# set path
set :deploy_to, "/opt/app/deploy/#{application}"
after "deploy:create_symlink", "deploy:cleanup"
after "deploy", "rvm:trust_rvmrc"
$ cap staging deploy
triggering load callbacks
* executing `staging'
triggering start callbacks for `deploy'
* executing `multistage:ensure'
* executing `deploy'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
updating the cached checkout on all servers
executing locally: "git ls-remote git@bitbucket.org:larryzhao/entercamp.git master"
command finished in 3353ms
* executing "if [ -d /opt/app/deploy/entercamp/shared/cached-copy ]; then cd /opt/app/deploy/entercamp/shared/cached-copy && git fetch origin && git fetch --tags origin && git reset --hard 851fb12fccf165e79dd42c53a88e21ad62a87644 && git clean -d -x -f; else git clone git@bitbucket.org:larryzhao/entercamp.git /opt/app/deploy/entercamp/shared/cached-copy && cd /opt/app/deploy/entercamp/shared/cached-copy && git checkout -b deploy 851fb12fccf165e79dd42c53a88e21ad62a87644; fi"
servers: ["chicago"]
[chicago] executing command
** [chicago :: out] remote: Counting objects: 17, done.
** [chicago :: out] remote: Compressing objects: 12% (1/8)
** [chicago :: out] remote: Compressing objects: 25% (2/8)
** [chicago :: out] remote: Compressing objects: 37% (3/8)
** [chicago :: out] remote: Compressing objects: 50% (4/8)
** [chicago :: out] remote: Compressing objects: 62% (5/8)
** [chicago :: out] remote: Compressing objects: 75% (6/8)
** [chicago :: out] remote: Compressing objects: 87% (7/8)
remote: Compressing objects: 100% (8/8), done.
** [chicago :: out] remote: Total 9 (delta 7), reused 1 (delta 1)
** [chicago :: out] Unpacking objects: 11% (1/9)
** [chicago :: out] Unpacking objects: 22% (2/9)
** [chicago :: out] Unpacking objects: 33% (3/9)
** [chicago :: out] Unpacking objects: 44% (4/9)
** [chicago :: out] Unpacking objects: 55% (5/9)
** [chicago :: out] Unpacking objects: 66% (6/9)
** [chicago :: out] Unpacking objects: 77% (7/9)
** [chicago :: out] Unpacking objects: 88% (8/9)
Unpacking objects: 100% (9/9), done.ts: 100% (9/9)
** [chicago :: out] From bitbucket.org:larryzhao/entercamp
** 7c66de5..851fb12 master -> origin/master
^[[A ** [chicago :: out] HEAD is now at 851fb12 capi
command finished in 10394ms
copying the cached version to /opt/app/deploy/entercamp/releases/20120627204538
* executing "cp -RPp /opt/app/deploy/entercamp/shared/cached-copy /opt/app/deploy/entercamp/releases/20120627204538 && (echo 851fb12fccf165e79dd42c53a88e21ad62a87644 > /opt/app/deploy/entercamp/releases/20120627204538/REVISION)"
servers: ["chicago"]
[chicago] executing command
command finished in 1227ms
* executing `deploy:finalize_update'
triggering before callbacks for `deploy:finalize_update'
* executing `deploy:assets:symlink'
* executing "rm -rf /opt/app/deploy/entercamp/releases/20120627204538/public/assets &&\\\n mkdir -p /opt/app/deploy/entercamp/releases/20120627204538/public &&\\\n mkdir -p /opt/app/deploy/entercamp/shared/assets &&\\\n ln -s /opt/app/deploy/entercamp/shared/assets /opt/app/deploy/entercamp/releases/20120627204538/public/assets"
servers: ["chicago"]
[chicago] executing command
command finished in 711ms
* executing "chmod -R g+w /opt/app/deploy/entercamp/releases/20120627204538"
servers: ["chicago"]
[chicago] executing command
command finished in 711ms
* executing "rm -rf /opt/app/deploy/entercamp/releases/20120627204538/log /opt/app/deploy/entercamp/releases/20120627204538/public/system /opt/app/deploy/entercamp/releases/20120627204538/tmp/pids &&\\\n mkdir -p /opt/app/deploy/entercamp/releases/20120627204538/public &&\\\n mkdir -p /opt/app/deploy/entercamp/releases/20120627204538/tmp"
servers: ["chicago"]
[chicago] executing command
command finished in 725ms
* executing "ln -s /opt/app/deploy/entercamp/shared/system /opt/app/deploy/entercamp/releases/20120627204538/public/system"
servers: ["chicago"]
[chicago] executing command
command finished in 615ms
* executing "ln -s /opt/app/deploy/entercamp/shared/log /opt/app/deploy/entercamp/releases/20120627204538/log"
servers: ["chicago"]
[chicago] executing command
command finished in 712ms
* executing "ln -s /opt/app/deploy/entercamp/shared/pids /opt/app/deploy/entercamp/releases/20120627204538/tmp/pids"
servers: ["chicago"]
[chicago] executing command
command finished in 635ms
triggering after callbacks for `deploy:finalize_update'
* executing `bundle:install'
* executing "ls -x /opt/app/deploy/entercamp/releases"
servers: ["chicago"]
[chicago] executing command
command finished in 657ms
* executing "cd /opt/app/deploy/entercamp/releases/20120627204538 && bundle install --gemfile /opt/app/deploy/entercamp/releases/20120627204538/Gemfile --path /opt/app/deploy/entercamp/shared/bundle --deployment --quiet --without development test"
servers: ["chicago"]
[chicago] executing command
** [out :: chicago] Gem::InstallError: paperclip requires Ruby version >= 1.9.2.
** [out :: chicago] An error occured while installing paperclip (3.1.2), and Bundler cannot continue.
** [out :: chicago] Make sure that `gem install paperclip -v '3.1.2'` succeeds before bundling.
command finished in 32287ms
*** [deploy:update_code] rolling back
* executing "rm -rf /opt/app/deploy/entercamp/releases/20120627204538; true"
servers: ["chicago"]
[chicago] executing command
command finished in 672ms
failed: "rvm_path=/usr/local/rvm /usr/local/rvm/bin/rvm-shell 'jruby-1.6.7@entercamp' -c 'cd /opt/app/deploy/entercamp/releases/20120627204538 && bundle install --gemfile /opt/app/deploy/entercamp/releases/20120627204538/Gemfile --path /opt/app/deploy/entercamp/shared/bundle --deployment --quiet --without development test'" on chicago
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment