- From: Cassiano Leal <
>
- To:
- Subject: [chef] Re: Re: Re: Deploying Rails (4) app with Chef
- Date: Sat, 14 Dec 2013 17:36:05 -0200
On Saturday, December 14, 2013 at 17:31, Rob Watkin wrote:
Well this is a chicken and an egg. I can't execute rake db:create before
application "app_name" do
rails do
etc
because the app hasn't yet been pulled down.
You can put it in the before_deploy callback attribute [1].
[1] https://github.com/poise/application#callback-attributes
--
Cassiano Lealhttp://cassianoleal.com
http://twitter.com/cassianoleal
Archive powered by MHonArc 2.6.16.