Skip to content

Commit

Permalink
Fix "Directory does not exist" with sshkit >= 1.19
Browse files Browse the repository at this point in the history
within('') fails when sshkit >= 1.19.
  • Loading branch information
mherold committed Nov 14, 2019
1 parent 6dc408e commit 1ceb6e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/capistrano/tasks/passenger.cap
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace :passenger do
end
on roles(fetch(:passenger_roles)), in: fetch(:passenger_restart_runner), wait: fetch(:passenger_restart_wait), limit: fetch(:passenger_restart_limit) do
with fetch(:passenger_environment_variables) do
within(fetch(:passenger_in_gemfile, false) ? release_path : "") do
within(fetch(:passenger_in_gemfile, false) ? release_path : capture(:pwd)) do
if restart_with_touch.nil?
# 'passenger -v' may output one of the following depending on the version:
# Phusion Passenger version x.x.x
Expand Down

0 comments on commit 1ceb6e8

Please sign in to comment.