On Saturday, March 31, 2012 at 11:41 PM, Juan Jesús Ojeda Croissier wrote:
On Sat, Mar 31, 2012 at 4:54 PM, Sachin Sagar Rai < "> > wrote:Hi fellas!I'm having an issue while deploying a Rails 3.2 app when it comes toprecompiling assets rake command.If I put this in `before_migrate` block, it blows up coz the command `rakeassets:precompile` requires the database.yml file populated and migrationalready done.It won't be a problem if the deploy resource has after_migrate hook, whichchef doesn't have right now.So, how can I add such hook or is there any other hooks that I can use?You could use the 'before_symlink' one, which is used after the migration.But I also was missing an 'after_migrate' hook...Cheers--Juanje
Archive powered by MHonArc 2.6.16.