Hi, Guys,
I was deploying a project to my server with Mina, but it failed to migrate DB. The output on screen told me to add --trace to check what was going on. After checking the source code, I was not able to know how to add an option such as --trace to rake db:migrate (the final command will be rake db:migrate --trace).
Should I add a new var via set, then append the new var to #{echo_cmd("#{fetch(:rake)} db:migrate")}}, or write a new task in my own config/deploy.rb?
Thanks.
Hi, Guys,
I was deploying a project to my server with
Mina, but it failed to migrate DB. The output on screen told me to add--traceto check what was going on. After checking the source code, I was not able to know how to add an option such as--tracetorake db:migrate(the final command will berake db:migrate --trace).Should I add a new
varviaset, then append the new var to#{echo_cmd("#{fetch(:rake)} db:migrate")}}, or write a new task in my ownconfig/deploy.rb?Thanks.