Is there a way to set a default stage in Capistrano 3?
I\'ve tried putting set :stage, :production inside deploy.rb but that didn\'t work, it gives the erro
set :stage, :production
New answer for capistrano 3.6+: It's better to use invoke :production unless Rake.application.options.show_tasks to avoid the warning which you would otherwise get with cap -T
invoke :production unless Rake.application.options.show_tasks
cap -T