Answer the question
In order to leave comments, you need to log in
How to run ruby gems through capistrano?
ubuntu server target machine. capistrano works. I can do something like:
desc 'Релоад nginx'
task :reload do
on roles :all do
sudo :service, :nginx, :reload
end
end
desc 'Выполнение бекапа'
task :perform do
on roles :all do
execute :backup, "perform --trigger mybackup"
end
end
INFO [9a6dd502] Running /usr/bin/env backup perform --trigger mybackup as [email protected]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question