Capistrano error.. can't use sudo

i am having a problem getting capistrano to run my deployment…

it’s trying to sudo run the spin script, and this client does not have
sudo privileges…

i have added the following lines to my deployment.rb

set :user_sudo, false

set :runner, nil

and i am still getting this:

** transaction: commit

  • executing `deploy:restart’
  • executing “sudo -p 'sudo password: ’
    ~/Sites/Deployed/nursing_abc/current/script/process/reaper”
    servers: [“domain.org”]
    [domain.org] executing command
    Password:

and then it flops…

any ideas? thanks!

Sergio R. wrote:

set :user_sudo, false

Should that not be?:

set :use_sudo, false

Robert W. wrote:

Sergio R. wrote:

set :user_sudo, false

Should that not be?:

set :use_sudo, false

correct! thanks so much!