Skip to content

Instantly share code, notes, and snippets.

@cpfarher
Last active December 30, 2015 07:49
Show Gist options
  • Select an option

  • Save cpfarher/7798135 to your computer and use it in GitHub Desktop.

Select an option

Save cpfarher/7798135 to your computer and use it in GitHub Desktop.
Rails 4.0.0. Ruby 1.9.3 y Capistrano 3. Usando require 'capistrano/rails' en capfile
christian@toshichri:~/public_html/rails/myapp$ cap production deploy --trace
** Invoke production (first_time)
** Execute production
** Invoke load:defaults (first_time)
** Execute load:defaults
** Invoke deploy (first_time)
** Execute deploy
** Invoke deploy:starting (first_time)
** Invoke deploy:set_shared_assets (first_time)
** Execute deploy:set_shared_assets
** Execute deploy:starting
** Invoke deploy:check (first_time)
** Execute deploy:check
** Invoke git:check (first_time)
** Invoke git:wrapper (first_time)
** Execute git:wrapper
INFO [04f1b28c] Running mkdir -p /tmp/myapp/ on sys-intranet.zapto.org
DEBUG [04f1b28c] Command: ( RVM_BIN_PATH=~/.rvm/bin mkdir -p /tmp/myapp/ )
INFO [04f1b28c] Finished in 1.185 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/myapp/git-ssh.sh 0.0%
INFO Uploading /tmp/myapp/git-ssh.sh 100.0%
INFO [0e56ad70] Running chmod +x /tmp/myapp/git-ssh.sh on sys-intranet.zapto.org
DEBUG [0e56ad70] Command: ( RVM_BIN_PATH=~/.rvm/bin chmod +x /tmp/myapp/git-ssh.sh )
INFO [0e56ad70] Finished in 0.216 seconds with exit status 0 (successful).
** Execute git:check
Please enter branch: |Branch for deploy: |
master
DEBUG [612246b9] Running git ls-remote [email protected]:cpfarher/myapp.git on sys-intranet.zapto.org
DEBUG [612246b9] Command: ( RVM_BIN_PATH=~/.rvm/bin GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/myapp/git-ssh.sh git ls-remote [email protected]:cpfarher/myapp.git )
DEBUG [612246b9] 95aabc2e9dc96b9521daba0883bd3877cbd5e97c
DEBUG [612246b9]
DEBUG [612246b9] HEAD
DEBUG [612246b9]
DEBUG [612246b9] 95aabc2e9dc96b9521daba0883bd3877cbd5e97c
DEBUG [612246b9]
DEBUG [612246b9] refs/heads/master
DEBUG [612246b9]
DEBUG [612246b9] Finished in 5.116 seconds with exit status 0 (successful).
** Invoke deploy:check:directories (first_time)
** Execute deploy:check:directories
INFO [0780db33] Running mkdir -pv /home/christian/myapp/shared /home/christian/myapp/releases on sys-intranet.zapto.org
DEBUG [0780db33] Command: ( RVM_BIN_PATH=~/.rvm/bin mkdir -pv /home/christian/myapp/shared /home/christian/myapp/releases )
INFO [0780db33] Finished in 1.171 seconds with exit status 0 (successful).
** Invoke deploy:check:linked_dirs (first_time)
** Execute deploy:check:linked_dirs
INFO [4fc0407d] Running mkdir -pv /home/christian/myapp/shared/public/assets on sys-intranet.zapto.org
DEBUG [4fc0407d] Command: ( RVM_BIN_PATH=~/.rvm/bin mkdir -pv /home/christian/myapp/shared/public/assets )
INFO [4fc0407d] Finished in 1.368 seconds with exit status 0 (successful).
** Invoke deploy:check:make_linked_dirs (first_time)
** Execute deploy:check:make_linked_dirs
** Invoke deploy:check:linked_files (first_time)
** Execute deploy:check:linked_files
** Invoke rvm:hook (first_time)
** Execute rvm:hook
** Invoke rvm:init (first_time)
** Execute rvm:init
DEBUG [dfa87c23] Running [ -d /usr/local/rvm ] on sys-intranet.zapto.org
DEBUG [dfa87c23] Command: [ -d /usr/local/rvm ]
DEBUG [dfa87c23] Finished in 1.159 seconds with exit status 1 (failed).
DEBUG [0093d34f] Running ~/.rvm/bin/rvm current on sys-intranet.zapto.org
DEBUG [0093d34f] Command: ( RVM_BIN_PATH=~/.rvm/bin ~/.rvm/bin/rvm current )
DEBUG [0093d34f] ruby-1.9.3-p484
DEBUG [0093d34f]
DEBUG [0093d34f] Finished in 0.383 seconds with exit status 0 (successful).
** Invoke deploy:started (first_time)
** Execute deploy:started
** Invoke deploy:updating (first_time)
** Invoke deploy:new_release_path (first_time)
** Execute deploy:new_release_path
** Execute deploy:updating
** Invoke git:create_release (first_time)
** Invoke git:update (first_time)
** Invoke git:clone (first_time)
** Invoke git:wrapper
** Execute git:clone
DEBUG [c1225dd5] Running [ -f /home/christian/myapp/repo/HEAD ] on sys-intranet.zapto.org
DEBUG [c1225dd5] Command: [ -f /home/christian/myapp/repo/HEAD ]
DEBUG [c1225dd5] Finished in 1.249 seconds with exit status 0 (successful).
INFO The repository mirror is at /home/christian/myapp/repo
** Execute git:update
DEBUG [16da7d4e] Running if test ! -d /home/christian/myapp/repo; then echo "Directory does not exist '/home/christian/myapp/repo'" 1>&2; false; fi on sys-intranet.zapto.org
DEBUG [16da7d4e] Command: if test ! -d /home/christian/myapp/repo; then echo "Directory does not exist '/home/christian/myapp/repo'" 1>&2; false; fi
DEBUG [16da7d4e] Finished in 1.153 seconds with exit status 0 (successful).
INFO [eaeaab9f] Running git remote update on sys-intranet.zapto.org
DEBUG [eaeaab9f] Command: cd /home/christian/myapp/repo && ( RVM_BIN_PATH=~/.rvm/bin git remote update )
DEBUG [eaeaab9f] Fetching origin
DEBUG [eaeaab9f]
INFO [eaeaab9f] Finished in 4.001 seconds with exit status 0 (successful).
** Execute git:create_release
DEBUG [967dcdbd] Running if test ! -d /home/christian/myapp/repo; then echo "Directory does not exist '/home/christian/myapp/repo'" 1>&2; false; fi on sys-intranet.zapto.org
DEBUG [967dcdbd] Command: if test ! -d /home/christian/myapp/repo; then echo "Directory does not exist '/home/christian/myapp/repo'" 1>&2; false; fi
DEBUG [967dcdbd] Finished in 1.183 seconds with exit status 0 (successful).
INFO [c17eb233] Running mkdir -p /home/christian/myapp/releases/20131205002120 on sys-intranet.zapto.org
DEBUG [c17eb233] Command: cd /home/christian/myapp/repo && ( RVM_BIN_PATH=~/.rvm/bin GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/myapp/git-ssh.sh mkdir -p /home/christian/myapp/releases/20131205002120 )
INFO [c17eb233] Finished in 0.192 seconds with exit status 0 (successful).
INFO [4435d880] Running git archive master | tar -x -C /home/christian/myapp/releases/20131205002120 on sys-intranet.zapto.org
DEBUG [4435d880] Command: cd /home/christian/myapp/repo && ( RVM_BIN_PATH=~/.rvm/bin GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/myapp/git-ssh.sh git archive master | tar -x -C /home/christian/myapp/releases/20131205002120 )
INFO [4435d880] Finished in 0.193 seconds with exit status 0 (successful).
** Invoke deploy:symlink:shared (first_time)
** Execute deploy:symlink:shared
** Invoke deploy:symlink:linked_files (first_time)
** Execute deploy:symlink:linked_files
** Invoke deploy:symlink:linked_dirs (first_time)
** Execute deploy:symlink:linked_dirs
INFO [e94879bc] Running mkdir -pv /home/christian/myapp/releases/20131205002120/public on sys-intranet.zapto.org
DEBUG [e94879bc] Command: ( RVM_BIN_PATH=~/.rvm/bin mkdir -pv /home/christian/myapp/releases/20131205002120/public )
INFO [e94879bc] Finished in 1.150 seconds with exit status 0 (successful).
DEBUG [02f479e1] Running [ -L /home/christian/myapp/releases/20131205002120/public/assets ] on sys-intranet.zapto.org
DEBUG [02f479e1] Command: [ -L /home/christian/myapp/releases/20131205002120/public/assets ]
DEBUG [02f479e1] Finished in 0.193 seconds with exit status 1 (failed).
DEBUG [ad76262c] Running [ -d /home/christian/myapp/releases/20131205002120/public/assets ] on sys-intranet.zapto.org
DEBUG [ad76262c] Command: [ -d /home/christian/myapp/releases/20131205002120/public/assets ]
DEBUG [ad76262c] Finished in 0.190 seconds with exit status 1 (failed).
INFO [0382227a] Running ln -s /home/christian/myapp/shared/public/assets /home/christian/myapp/releases/20131205002120/public/assets on sys-intranet.zapto.org
DEBUG [0382227a] Command: ( RVM_BIN_PATH=~/.rvm/bin ln -s /home/christian/myapp/shared/public/assets /home/christian/myapp/releases/20131205002120/public/assets )
INFO [0382227a] Finished in 0.194 seconds with exit status 0 (successful).
** Invoke deploy:updated (first_time)
** Invoke bundler:install (first_time)
** Execute bundler:install
DEBUG [2cb9e824] Running if test ! -d /home/christian/myapp/releases/20131205002120; then echo "Directory does not exist '/home/christian/myapp/releases/20131205002120'" 1>&2; false; fi on sys-intranet.zapto.org
DEBUG [2cb9e824] Command: if test ! -d /home/christian/myapp/releases/20131205002120; then echo "Directory does not exist '/home/christian/myapp/releases/20131205002120'" 1>&2; false; fi
DEBUG [2cb9e824] Finished in 1.150 seconds with exit status 0 (successful).
INFO [ad26d6f5] Running ~/.rvm/bin/rvm ruby-1.9.3-p484 do bundle --gemfile /home/christian/myapp/releases/20131205002120/Gemfile --path /home/christian/myapp/shared/bundle --deployment --binstubs /home/christian/myapp/shared/bin --without test development on sys-intranet.zapto.org
DEBUG [ad26d6f5] Command: cd /home/christian/myapp/releases/20131205002120 && ( RVM_BIN_PATH=~/.rvm/bin ~/.rvm/bin/rvm ruby-1.9.3-p484 do bundle --gemfile /home/christian/myapp/releases/20131205002120/Gemfile --path /home/christian/myapp/shared/bundle --deployment --binstubs /home/christian/myapp/shared/bin --without test development )
DEBUG [ad26d6f5] Using rake (10.1.0)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using i18n (0.6.5)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using minitest (4.7.5)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using multi_json (1.8.2)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using atomic (1.1.14)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using thread_safe (0.1.3)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using tzinfo (0.3.38)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using activesupport (4.0.0)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using builder (3.1.4)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using erubis (2.7.0)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using rack (1.5.2)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using rack-test (0.6.2)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using actionpack (4.0.0)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using mime-types (1.25)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using polyglot (0.3.3)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using treetop (1.4.15)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using mail (2.5.4)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using actionmailer (4.0.0)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using arbre (1.0.1)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using sass (3.2.12)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using thor (0.18.1)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using bourbon (3.1.8)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using coffee-script-source (1.6.3)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using execjs (2.0.2)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using coffee-script (2.2.0)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using railties (4.0.0)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using coffee-rails (4.0.1)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using bcrypt-ruby (3.1.2)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using orm_adapter (0.5.0)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using warden (1.2.3)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using devise (3.2.1)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using formtastic (2.3.0.rc2)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using has_scope (0.6.0.rc)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using responders (1.0.0)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using inherited_resources (1.4.1)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using jquery-rails (3.0.4)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using jquery-ui-rails (4.1.0)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using kaminari (0.14.1)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using activemodel (4.0.0)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using activerecord-deprecated_finders (1.0.3)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using arel (4.0.1)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using activerecord (4.0.0)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using bundler (1.3.5)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using hike (1.2.3)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using tilt (1.4.1)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using sprockets (2.10.0)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using sprockets-rails (2.0.1)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using rails (4.0.0)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using polyamorous (0.6.4)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using ransack (1.1.0)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using sass-rails (4.0.1)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using activeadmin (1.0.0.pre) from git://github.com/gregbell/active_admin.git (at master)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using devise-i18n (0.10.0)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using jbuilder (1.5.2)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using json (1.8.1)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using libv8 (3.11.8.17)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using pg (0.17.0)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using rdoc (3.12.2)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using ref (1.0.4)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using sdoc (0.3.20)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using therubyracer (0.11.4)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using turbolinks (1.3.1)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Using uglifier (2.3.1)
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Your bundle is complete!
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] Gems in the groups test and development were not installed.
DEBUG [ad26d6f5]
DEBUG [ad26d6f5] It was installed into /home/christian/myapp/shared/bundle
DEBUG [ad26d6f5]
INFO [ad26d6f5] Finished in 1.411 seconds with exit status 0 (successful).
** Execute deploy:updated
** Invoke deploy:compile_assets (first_time)
** Invoke deploy:set_rails_env (first_time)
** Execute deploy:set_rails_env
** Execute deploy:compile_assets
** Invoke deploy:assets:precompile (first_time)
** Invoke deploy:migrate (first_time)
** Invoke deploy:set_rails_env
** Execute deploy:migrate
DEBUG [2605b3ce] Running if test ! -d /home/christian/myapp/releases/20131205002120; then echo "Directory does not exist '/home/christian/myapp/releases/20131205002120'" 1>&2; false; fi on sys-intranet.zapto.org
DEBUG [2605b3ce] Command: if test ! -d /home/christian/myapp/releases/20131205002120; then echo "Directory does not exist '/home/christian/myapp/releases/20131205002120'" 1>&2; false; fi
DEBUG [2605b3ce] Finished in 1.216 seconds with exit status 0 (successful).
INFO [416fb294] Running ~/.rvm/bin/rvm ruby-1.9.3-p484 do rake db:migrate on sys-intranet.zapto.org
DEBUG [416fb294] Command: cd /home/christian/myapp/releases/20131205002120 && ( RVM_BIN_PATH=~/.rvm/bin RAILS_ENV=production ~/.rvm/bin/rvm ruby-1.9.3-p484 do rake db:migrate )
DEBUG [416fb294] rake aborted!
DEBUG [416fb294]
DEBUG [416fb294] PG::UndefinedTable: ERROR: no existe la relación «product_stocks»
DEBUG [416fb294]
DEBUG [416fb294] LINE 1: SELECT "product_stocks".* FROM "product_stocks"
DEBUG [416fb294]
DEBUG [416fb294] ^
DEBUG [416fb294]
DEBUG [416fb294] : SELECT "product_stocks".* FROM "product_stocks"
DEBUG [416fb294]
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec'
DEBUG [416fb294]
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_no_cache'
DEBUG [416fb294]
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/connection_adapters/postgresql/database_statements.rb:138:in `block in exec_query'
DEBUG [416fb294]
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract_adapter.rb:425:in `block in log'
DEBUG [416fb294]
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
DEBUG [416fb294]
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract_adapter.rb:420:in `log'
DEBUG [416fb294]
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/connection_adapters/postgresql/database_statements.rb:137:in `exec_query'
DEBUG [416fb294]
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/connection_adapters/postgresql_adapter.rb:885:in `select'
DEBUG [416fb294]
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/database_statements.rb:24:in `select_all'
DEBUG [416fb294]
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'
DEBUG [416fb294]
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/querying.rb:36:in `find_by_sql'
DEBUG [416fb294]
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/relation.rb:585:in `exec_queries'
DEBUG [416fb294]
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/relation.rb:471:in `load'
DEBUG [416fb294]
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/relation.rb:220:in `to_a'
DEBUG [416fb294]
DEBUG [416fb294] /home/christian/myapp/shared/bund
DEBUG [416fb294] le/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/relation/delegation.rb:12:in `map'
DEBUG [416fb294]
DEBUG [416fb294] /home/christian/myapp/releases/20131205002120/app/admin/product_stock_log.rb:23:in `block in <top (required)>'
DEBUG [416fb294]
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/bundler/gems/active_admin-183b13b27387/lib/active_admin/dsl.rb:16:in `instance_eval'
DEBUG [416fb294]
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/bundler/gems/active_admin-183b13b27387/lib/active_admin/dsl.rb:16:in `run_registration_block'
DEBUG [416fb294]
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/bundler/gems/active_admin-183b13b27387/lib/active_admin/namespace.rb:216:in `parse_registration_block'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/bundler/gems/active_admin-183b13b27387/lib/active_admin/namespace.rb:48:in `register'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/bundler/gems/active_admin-183b13b27387/lib/active_admin/application.rb:117:in `register'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/bundler/gems/active_admin-183b13b27387/lib/active_admin.rb:71:in `register'
DEBUG [416fb294] /home/christian/myapp/releases/20131205002120/app/admin/product_stock_log.rb:3:in `<top (required)>'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in `load'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in `block in load'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in `load'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/bundler/gems/active_admin-183b13b27387/lib/active_admin/application.rb:168:in `block in load!'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/bundler/gems/active_admin-183b13b27387/lib/active_admin/application.rb:168:in `each'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/bundler/gems/active_admin-183b13b27387/lib/active_admin/application.rb:168:in `load!'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/bundler/gems/active_admin-183b13b27387/lib/active_admin/application.rb:186:in `routes'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/bundler/gems/active_admin-183b13b27387/lib/active_admin.rb:75:in `routes'
DEBUG [416fb294] /home/christian/myapp/releases/20131205002120/config/routes.rb:3:in `block in <top (required)>'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_dispatch/routing/route_set.rb:316:in `instance_exec'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_dispatch/routing/route_set.rb:316:in `eval_block'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_dispatch/routing/route_set.rb:294:in `draw'
DEBUG [416fb294] /home/christian/myapp/releases/20131205002120/config/routes.rb:1:in `<top (required)>'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in `load'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in `block in load'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in `load'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/application/routes_reloader.rb:40:in `block in load_paths'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/application/routes_reloader.rb:40:in `each'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/application/routes_reloader.rb:40:in `load_paths'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/application/routes_reloader.rb:16:in `reload!'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/application.rb:102:in `reload_routes!'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/bundler/gems/active_admin-183b13b27387/lib/active_admin/application.rb:238:in `block in attach_reloader'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/callbacks.rb:387:in `_run__564843183__prepare__callbacks'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/callbacks.rb:80:in `run_callbacks'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_dispatch/middlew
DEBUG [416fb294] are/reloader.rb:74:in `prepare!'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_dispatch/middleware/reloader.rb:46:in `prepare!'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/application/finisher.rb:50:in `block in <module:Finisher>'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/initializable.rb:30:in `instance_exec'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/initializable.rb:30:in `run'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/initializable.rb:55:in `block in run_initializers'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/initializable.rb:54:in `run_initializers'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/application.rb:215:in `initialize!'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/railtie/configurable.rb:30:in `method_missing'
DEBUG [416fb294] /home/christian/myapp/releases/20131205002120/config/environment.rb:5:in `<top (required)>'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `block in require'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/application.rb:189:in `require_environment!'
DEBUG [416fb294] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/application.rb:249:in `block in run_tasks_blocks'
DEBUG [416fb294] /home/christian/.rvm/gems/ruby-1.9.3-p484/bin/ruby_executable_hooks:15:in `eval'
DEBUG [416fb294]
DEBUG [416fb294] /home/christian/.rvm/gems/ruby-1.9.3-p484/bin/ruby_executable_hooks:15:in `<main>'
DEBUG [416fb294] Tasks: TOP => db:migrate => environment
DEBUG [416fb294] (See full trace by running task with --trace)
cap aborted!
rake stdout: Nothing written
rake stderr: Nothing written
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/sshkit-1.1.0/lib/sshkit/command.rb:94:in `exit_status='
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/sshkit-1.1.0/lib/sshkit/backends/netssh.rb:125:in `block (4 levels) in _execute'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/net-ssh-2.7.0/lib/net/ssh/connection/channel.rb:551:in `call'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/net-ssh-2.7.0/lib/net/ssh/connection/channel.rb:551:in `do_request'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/net-ssh-2.7.0/lib/net/ssh/connection/session.rb:561:in `channel_request'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/net-ssh-2.7.0/lib/net/ssh/connection/session.rb:465:in `dispatch_incoming_packets'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/net-ssh-2.7.0/lib/net/ssh/connection/session.rb:221:in `preprocess'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/net-ssh-2.7.0/lib/net/ssh/connection/session.rb:205:in `process'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/net-ssh-2.7.0/lib/net/ssh/connection/session.rb:169:in `block in loop'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/net-ssh-2.7.0/lib/net/ssh/connection/session.rb:169:in `loop'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/net-ssh-2.7.0/lib/net/ssh/connection/session.rb:169:in `loop'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/net-ssh-2.7.0/lib/net/ssh/connection/channel.rb:269:in `wait'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/sshkit-1.1.0/lib/sshkit/backends/netssh.rb:147:in `block (2 levels) in _execute'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/net-ssh-2.7.0/lib/net/ssh/connection/channel.rb:514:in `call'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/net-ssh-2.7.0/lib/net/ssh/connection/channel.rb:514:in `do_open_confirmation'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/net-ssh-2.7.0/lib/net/ssh/connection/session.rb:545:in `channel_open_confirmation'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/net-ssh-2.7.0/lib/net/ssh/connection/session.rb:465:in `dispatch_incoming_packets'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/net-ssh-2.7.0/lib/net/ssh/connection/session.rb:221:in `preprocess'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/net-ssh-2.7.0/lib/net/ssh/connection/session.rb:205:in `process'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/net-ssh-2.7.0/lib/net/ssh/connection/session.rb:169:in `block in loop'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/net-ssh-2.7.0/lib/net/ssh/connection/session.rb:169:in `loop'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/net-ssh-2.7.0/lib/net/ssh/connection/session.rb:169:in `loop'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/sshkit-1.1.0/lib/sshkit/backends/netssh.rb:149:in `block in _execute'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/sshkit-1.1.0/lib/sshkit/backends/netssh.rb:106:in `tap'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/sshkit-1.1.0/lib/sshkit/backends/netssh.rb:106:in `_execute'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/sshkit-1.1.0/lib/sshkit/backends/netssh.rb:54:in `execute'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/capistrano-rails-1.1.0/lib/capistrano/tasks/migrations.rake:10:in `block (5 levels) in <top (required)>'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/sshkit-1.1.0/lib/sshkit/backends/abstract.rb:89:in `with'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/capistrano-rails-1.1.0/lib/capistrano/tasks/migrations.rake:9:in `block (4 levels) in <top (required)>'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/sshkit-1.1.0/lib/sshkit/backends/abstract.rb:81:in `within'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/capistrano-rails-1.1.0/lib/capistrano/tasks/migrations.rake:8:in `block (3 levels) in <top (required)>'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/sshkit-1.1.0/lib/sshkit/backends/netssh.rb:42:in `instance_exec'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/sshkit-1.1.0/lib/sshkit/backends/netssh.rb:42:in `run'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/sshkit-1.1.0/lib/sshkit/runners/parallel.rb:12:in `block (2 levels) in execute'
Tasks: TOP => deploy:assets:precompile => deploy:migrate
christian@toshichri:~/public_html/rails/myapp$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment