olimart/moreflowers2 — Issue #47: Deploy
Author: olimart
Created: 2012-01-30 21:11:36+00:00
State: open
Labels: P1

Fixed a few issues but running into this pb. Directory /og/releases is empty and I don't think it's normal.

triggering after callbacks for `deploy:update_code'
* executing `deploy:assets:precompile'
* executing "cd /home/maximil2/rails_app/og/releases/20120130210534 && bundle exec rake RAILS_ENV=production RAILS_GROUPS=assets assets:precompile"
servers: ["184.107.213.3"]
[184.107.213.3] executing command
** [out :: 184.107.213.3] rake aborted!
** [out :: 184.107.213.3] No such file or directory - /home/maximil2/rails_app/og/releases/20120130210534/config/database.yml
** [out :: 184.107.213.3]
** [out :: 184.107.213.3] Tasks: TOP => environment
** [out :: 184.107.213.3] (See full trace by running task with --trace)
command finished in 5260ms
*** [deploy:update_code] rolling back
* executing "rm -rf /home/maximil2/rails_app/og/releases/20120130210534; true"
servers: ["184.107.213.3"]
[184.107.213.3] executing command
command finished in 157ms
failed: "sh -c 'cd /home/maximil2/rails_app/og/releases/20120130210534 && bundle exec rake RAILS_ENV=production RAILS_GROUPS=assets assets:precompile'" on 184.107.213.3