Use "source" instead of /bin/sh to run deploy scripts - bedrock capistrano

Hello,

I am trying to deploy my bedrock setup on a host that doesn’t allow direct execution of shell scripts on the account. (file system mounted as “noexec”)

The support tells me I need to use the command “source” to run scripts on the server.

I searched in the capistrano, and sshkit configs where I could do that, but can’t figure out how.

I tried things such as:

SSHKit.config.command_map[:bash] = "source"
SSHKit.config.shell = "source"

but those are ignored

has anyone faced this issue before ?

thanks for your help.

julien