From 5fc3687bfa4e7312f84149b04299ef48fb90169c Mon Sep 17 00:00:00 2001 From: xhoy Date: Tue, 29 Sep 2015 13:46:59 +0200 Subject: [PATCH] Update README.md Added on roles() for key tasks since required by capistrano3 http://stackoverflow.com/questions/18838930/how-to-run-shell-commands-on-server-in-capistrano-v3 --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6a8b2bf..1bcbfdd 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,9 @@ task can be added to handle the keys installation: ```ruby namespace :app do task :update_rvm_key do - execute :gpg, "--keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3" + on roles(:app) do + execute :gpg, "--keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3" + end end end before "rvm1:install:rvm", "app:update_rvm_key"