[chef] Deploying Rails (4) app with Chef


Chronological Thread 
  • From: Rob Watkin < >
  • To: Chef List < >
  • Subject: [chef] Deploying Rails (4) app with Chef
  • Date: Sat, 14 Dec 2013 16:25:17 +0000

Hi,

I have been working my way through deploying a Rails 4 app with Chef/Vagrant thanks to lots of help from this list.  :-)

Now Chef is saying:

2013-12-14T15:24:03+00:00] INFO: deploy_revision[rapto] migrating apache with environment RAILS_ENV='production'
[2013-12-14T15:24:04+00:00] WARN: Error on deploying /var/www/releases/2680fd501ac6ab0c76f26da19d45cdee046097f1: /usr/local/bundle_wrapper.sh exec rake db:migrate returned 1, expected 0
[2013-12-14T15:24:04+00:00] INFO: Removing failed deploy /var/www/releases/2680fd501ac6ab0c76f26da19d45cdee046097f1

I can't run rake to diagnose this because Chef is removing my Rails app folder. How can I stop Chef from Removing the failed deploy?

Thanks
Rob



Archive powered by MHonArc 2.6.16.

§