I have a rails project that uses Capistrano to deploy. When I deploy to the server, the deployment fails due to use of sudo on a command (ant no pty to insert the password).
/usr/bin/env sudo mkdir -pv /home/user/website as [email protected]
However the user is the owner of /home/user, so it does not need sudo access. How can I tell capistrano not to use sudo?
Thanks,