capistrano / passenger

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

undefined method `[]' for nil:NilClass after upgraging Passenger to 6.0.8 #52

Closed mrusa closed 3 years ago

mrusa commented 3 years ago

This is the same problem already addressed in #36. The new Passenger version 6.0.8, released yesterday, has a new output when calling passenger -v, so the regex in https://github.com/capistrano/passenger/blob/master/lib/capistrano/tasks/passenger.cap#L20 does not work anymore.

For me, a temporary fix was to add set :passenger_restart_with_touch, false to my deploy.rb so the regex won't get called.

dheroying commented 3 years ago

Now the passenger version looks like this: "Phusion Passenger(R) 6.0.8". So the regex is not working for the "(R)".

betesh commented 3 years ago

Fixed by #53