Capistrano using sudo even with “set :use_sudo, false”
问题 I do not wish to use sudo for any of my remotely executed commands via Capistrano. Specifically, when I run cap deploy:setup , I'm asked for my sudo password during the first mkdir command. I added set :use_sudo, false to my deploy.rb file, but this did not make a difference. I started with a fairly complete deploy.rb file, but whittled it down once I started having issues. Here is my minimal version that still shows use_sudo not being respected: # App Definitions set :domain, '[server-ip]'