How to set a default shell or sudo to a user in capistrano 3
问题 I'm currently in the process of moving from Capistrano 2.x to 3.x for a rails application and running into the following issue. The general setup on the server contains a deploy user that should be the one responsible for deploying, however when a user goes to deploy, they connect to the server with their own user name. In Capistrano 2.x, I was able to accomplish this using the default_shell option. set :default_shell, "sudo -u deploy /bin/sh" This does not work in Capistrano 3.x. Is there