This behavior seems counter-intuitive given within. The problem was resolved with setting the -C argument to release_path for tar but stumped me a bit. execute "pwd" indicated the proper directly, oddly enough.
The code was executed within the context of on roles(:assets) do |host|...basically we are speeding up asset deployment by forking off the compilation of assets in the beginning, tarring up public/assets, and scping that file to /tmp in another task to give some background on the issue.
We are using sshkit 1.5.1.
Can anyone duplicate this issue or shed some light on it?
Thanks,
--sean