I using Capistrano 3 and need to run rvmrc trust command to deploy.
I added this code to my deploy.rb
namespace :rvm do
task :trust do
execute :rvm, "rvmrc trust #{fetch(:current_release)}"
end
end
after 'deploy:updated', 'rvm:trust'
But the task doesn't execute.
How to execute rvmrc trust using Capistrano 3?
Is there any way to see deploy tasks flow before running cap deploy task?
Thank you!