I want capistrano to invoke rake with --trace so I can figure out why it\'s failing. How do I do this? set :rake \'rake --trace\' doesn\'t work.
set :rake \'rake --trace\'
The best way I found is:
set :rake, "#{rake} --trace"
This way you don't overwrite the rake variable.
For example if you use bundler this is set before to:
"bundle exec rake"
and after to:
"bundle exec rake --trace"