capistrano/capistrano — pull request #576 by longility (2013-07-21 01:25:20+00:00)
Title: Created tmp_dir to allow custom temp directory. Shared web host with jailed access may not be able to execute scripts in /tmp directory.

I had to change this since I had issues executing scripts from tmp directory for my shared host.