fixing apps path for spruchomat
adding TMPDIR env variable in order to work around passenger tmp dir bug