You really don't need to know what the general path of Capistrano is. During the deployment process, you were expected to create links to any directories that are shared for the deployment.
The variable linked_dirsdefines this:
set :linked_dirs, %w[ example ]
, releases/NNN/example shared/example. .
Update:
, , , , .
.