Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,14 @@ 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.

``` ruby
set :asdf_map_ruby_bins, %w[rake bundle gem ruby passenger passenger-config]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be automated. Notice how we're detecting what other passenger plugins you are using and adding passenger to the lists of bin appropriately:

https://github.com/capistrano/passenger/blob/master/lib/capistrano/tasks/passenger.cap#L98-L107

```

### 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.
Expand Down