Skip to content

Instantly share code, notes, and snippets.

@cpfarher
Created December 4, 2013 23:36
Show Gist options
  • Select an option

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

Select an option

Save cpfarher/7797606 to your computer and use it in GitHub Desktop.
** Execute deploy:assets:precompile
DEBUG [caad213e] Running if test ! -d /home/christian/myapp/releases/20131204233131; then echo "Directory does not exist '/home/christian/myapp/releases/20131204233131'" 1>&2; false; fi on bys-intranet.zapto.org
DEBUG [caad213e] Command: if test ! -d /home/christian/myapp/releases/20131204233131; then echo "Directory does not exist '/home/christian/myapp/releases/20131204233131'" 1>&2; false; fi
DEBUG [caad213e] Finished in 1.174 seconds with exit status 0 (successful).
INFO [5c2dd7c5] Running ~/.rvm/bin/rvm ruby-1.9.3-p484 do rake assets:precompile on bys-intranet.zapto.org
DEBUG [5c2dd7c5] Command: cd /home/christian/myapp/releases/20131204233131 && ( RVM_BIN_PATH=~/.rvm/bin RAILS_ENV=production ~/.rvm/bin/rvm ruby-1.9.3-p484 do rake assets:precompile )
DEBUG [5c2dd7c5] rake aborted!
DEBUG [5c2dd7c5]
DEBUG [5c2dd7c5] PG::UndefinedTable: ERROR: no existe la relación «product_stocks»
DEBUG [5c2dd7c5]
DEBUG [5c2dd7c5] LINE 1: SELECT "product_stocks".* FROM "product_stocks"
DEBUG [5c2dd7c5]
DEBUG [5c2dd7c5] ^
DEBUG [5c2dd7c5]
DEBUG [5c2dd7c5] : SELECT "product_stocks".* FROM "product_stocks"
DEBUG [5c2dd7c5]
DEBUG [5c2dd7c5] /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 [5c2dd7c5]
DEBUG [5c2dd7c5] /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 [5c2dd7c5]
DEBUG [5c2dd7c5] /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 [5c2dd7c5]
DEBUG [5c2dd7c5] /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 [5c2dd7c5]
DEBUG [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
DEBUG [5c2dd7c5]
DEBUG [5c2dd7c5] /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 [5c2dd7c5]
DEBUG [5c2dd7c5] /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 [5c2dd7c5]
DEBUG [5c2dd7c5] /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 [5c2dd7c5]
DEBUG [5c2dd7c5] /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 [5c2dd7c5]
DEBUG [5c2dd7c5] /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 [5c2dd7c5]
DEBUG [5c2dd7c5] /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 [5c2dd7c5]
DEBUG [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/relation.rb:585:in `exec_queries'
DEBUG [5c2dd7c5]
DEBUG [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/relation.rb:471:in `load'
DEBUG [5c2dd7c5]
DEBUG [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/relation.rb:220:in `to_a'
DEBUG [5c2dd7c5]
DEBUG [5c2dd7c5] /home/christian/myapp/shared/bund
DEBUG [5c2dd7c5] le/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/relation/delegation.rb:12:in `map'
DEBUG [5c2dd7c5]
DEBUG [5c2dd7c5] /home/christian/myapp/releases/20131204233131/app/admin/product_stock_log.rb:23:in `block in <top (required)>'
DEBUG [5c2dd7c5]
DEBUG [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/bundler/gems/active_admin-183b13b27387/lib/active_admin/dsl.rb:16:in `instance_eval'
DEBUG [5c2dd7c5]
DEBUG [5c2dd7c5] /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 [5c2dd7c5] /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 [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/bundler/gems/active_admin-183b13b27387/lib/active_admin/namespace.rb:48:in `register'
DEBUG [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/bundler/gems/active_admin-183b13b27387/lib/active_admin/application.rb:117:in `register'
DEBUG [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/bundler/gems/active_admin-183b13b27387/lib/active_admin.rb:71:in `register'
DEBUG [5c2dd7c5] /home/christian/myapp/releases/20131204233131/app/admin/product_stock_log.rb:3:in `<top (required)>'
DEBUG [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in `load'
DEBUG [5c2dd7c5] /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 [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency'
DEBUG [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in `load'
DEBUG [5c2dd7c5] /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 [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/bundler/gems/active_admin-183b13b27387/lib/active_admin/application.rb:168:in `each'
DEBUG [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/bundler/gems/active_admin-183b13b27387/lib/active_admin/application.rb:168:in `load!'
DEBUG [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/bundler/gems/active_admin-183b13b27387/lib/active_admin/application.rb:186:in `routes'
DEBUG [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/bundler/gems/active_admin-183b13b27387/lib/active_admin.rb:75:in `routes'
DEBUG [5c2dd7c5] /home/christian/myapp/releases/20131204233131/config/routes.rb:3:in `block in <top (required)>'
DEBUG [5c2dd7c5] /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 [5c2dd7c5] /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 [5c2dd7c5] /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 [5c2dd7c5] /home/christian/myapp/releases/20131204233131/config/routes.rb:1:in `<top (required)>'
DEBUG [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in `load'
DEBUG [5c2dd7c5] /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 [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency'
DEBUG [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in `load'
DEBUG [5c2dd7c5] /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 [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/application/routes_reloader.rb:40:in `each'
DEBUG [5c2dd7c5] /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 [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/application/routes_reloader.rb:16:in `reload!'
DEBUG [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/application.rb:102:in `reload_routes!'
DEBUG [5c2dd7c5] /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 [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/callbacks.rb:387:in `_run__658357675__prepare__callbacks'
DEBUG [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/callbacks.rb:80:in `run_callbacks'
DEBUG [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_dispatch/middleware/reloader.rb:74:in `prepare!'
DEBUG [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_dispatch/middleware/reloader.rb:46:in `prepare!'
DEBUG [5c2dd7c5] /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 [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/initializable.rb:30:in `instance_exec'
DEBUG [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/initializable.rb:30:in `run'
DEBUG [5c2dd7c5] /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 [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/initializable.rb:54:in `run_initializers'
DEBUG [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/application.rb:215:in `initialize!'
DEBUG [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/railtie/configurable.rb:30:in `method_missing'
DEBUG [5c2dd7c5] /home/christian/myapp/releases/20131204233131/config/environment.rb:5:in `<top (required)>'
DEBUG [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require'
DEBUG [5c2dd7c5] /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 [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency'
DEBUG [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require'
DEBUG [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/application.rb:189:in `require_environment!'
DEBUG [5c2dd7c5] /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 [5c2dd7c5] /home/christian/myapp/shared/bundle/ruby/1.9.1/gems/sprockets-rails-2.0.1/lib/sprockets/rails/task.rb:54:in `block (2 levels) in define'
DEBUG [5c2dd7c5] /home/christian/.rvm/gems/ruby-1.9.3-p484/bin/ruby_executable_hooks:15:in `eval'
DEBUG [5c2dd7c5] /home/christian/.rvm/gems/ruby-1.9.3-p484/bin/ruby_executable_hooks:15:in `<main>'
DEBUG [5c2dd7c5] Tasks: TOP => environment
DEBUG [5c2dd7c5] (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/assets.rake:63:in `block (6 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/assets.rake:62: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:81:in `within'
/home/christian/.rvm/gems/ruby-1.9.3-p448/gems/capistrano-rails-1.1.0/lib/capistrano/tasks/assets.rake:61:in `block (4 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
ca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment