How would I change the temporary dir that Capistrano uses?
Example: Instead of /tmp
, I want to use /home/user/tmp
My current VPS has /tmp
mounted as noexec
, which gives me permission denied errors while trying to run cap production deploy
.
How would I change the temporary dir that Capistrano uses?
Example: Instead of /tmp
, I want to use /home/user/tmp
My current VPS has /tmp
mounted as noexec
, which gives me permission denied errors while trying to run cap production deploy
.
Are you talking about the remote tmp directory? If yes, here an example::
This will change the default tmp directory where the archive was copied on the remote server to the deployment directory instead.
In Capistrano 3,