Capistrano: Deployment issue undefined method `[]' for nil:NilClass

Updated . Posted . Visible to the public.

In newer passenger versions the output of passenger -v has changed. capistrano-passenger tries to parse the version and now causes the error undefined method '[]' for nil:NilClass. To fix this you only need to upgrade the capistrano-passenger gem.

Therefore run bundle update capistrano-passenger --conservative.

The version change of passenger from 6.0.7 to 6.0.8 has triggered this problem. This is fixed in capistrano-passenger >= 0.2.1.

Julian
Last edit
Daniel Straßner
Keywords
SSHKit::Runner::ExecuteError
License
Source code in this card is licensed under the MIT License.
Posted by Julian to makandra dev (2021-04-07 16:28)