From 555017b4efa7c9e39a36239608aa6a2b6d5822cd Mon Sep 17 00:00:00 2001 From: Cyril Duchon-Doris Date: Thu, 10 Mar 2022 12:04:13 +0100 Subject: [PATCH 1/2] chore: add note regarding asdf --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 22d0373..8c142b9 100644 --- a/README.md +++ b/README.md @@ -101,6 +101,11 @@ set :passenger_environment_variables, { rbenv_version: '3.0.1' } If you are running passenger in standalone mode, it is possible for you to put passenger in your Gemfile and rely on capistrano-bundler to install it with the rest of your bundle. If you are installing passenger during your deployment **AND** you are using the new restart method (see below), you need to set `:passenger_in_gemfile` to `true` in your `config/deploy.rb`. +### Note for asdf users + +If you are using standalone passenger, and asdf through the [capistrano-asdf gem](https://github.com/cabesa-collective/capistrano-asdf), it should be enough to add the passenger binaries to the asdf variable. +set :asdf_map_ruby_bins, %w[rake bundle gem ruby passenger passenger-config] + ### Restarting Passenger >= 4.0.33 Applications Passenger 4.0.33 introduced a new way to restart your application, and thus has some additional configuration options to accomodate for various server environments. From 31277be0185c4049a3dce849db8086c6499df22c Mon Sep 17 00:00:00 2001 From: Cyril Duchon-Doris Date: Thu, 10 Mar 2022 12:05:37 +0100 Subject: [PATCH 2/2] fixup: add ``` --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 8c142b9..0b66fcb 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,10 @@ If you are running passenger in standalone mode, it is possible for you to put p ### Note for asdf users If you are using standalone passenger, and asdf through the [capistrano-asdf gem](https://github.com/cabesa-collective/capistrano-asdf), it should be enough to add the passenger binaries to the asdf variable. + +``` ruby set :asdf_map_ruby_bins, %w[rake bundle gem ruby passenger passenger-config] +``` ### Restarting Passenger >= 4.0.33 Applications