Runnung Capistrano recipe with rbenv sudo -
i'm trying use rbenv sudo plugin within capistrano 2 recipe. but, when run i'm asked input password recipe doesn't complete.
run "cd #{current_path} && rbenv #{sudo} bundle exec foreman export upstart /etc/init -a appa -u appaser -l ~/apps/appa/current/log"
is there way use rbenv sudo capistrano?
thanks
you have make sure user running command can run sudo without having provide password.
check out post see how set up: http://www.davidverhasselt.com/2008/01/27/passwordless-sudo/
Comments
Post a Comment