capistrano / passenger

Passenger support for Capistrano 3.x
MIT License
138 stars 44 forks source link

passenger:restart fails with current sshkit and passenger_in_gemfile=false (Directory does not exist) #48

Closed mherold closed 5 years ago

mherold commented 5 years ago

Reason: within('') fails with the current sshkit version. I opened an issue in sshkit (https://github.com/capistrano/sshkit/issues/476), but the current opinion seems to be that instead of within('') one should instead explicitly use within(capture(:pwd)).

@betesh what do you think, since you made the last change regarding this?

https://github.com/capistrano/passenger/blob/6dc408ec690d0cbe8c2e9d86c33ad4f7977dfa73/lib/capistrano/tasks/passenger.cap#L13