August 2017
Intermediate to advanced
278 pages
8h 53m
English
Although there are a number of different application servers for Rails, one of the more popular is Passenger. With the highest performance and great documentation, Passenger's popularity is well deserved. This recipe has been tested with Ruby 2.3, Rails 4.2, and Passenger 5.0.
We can install Passenger via gem:
gem install passenger
To integrate with NGINX, this requires a special module to be enabled. We'll compile NGINX from scratch as per our installation in Chapter 1, Let's Get Started and compile Passenger support as a static module.
For a Debian- / Ubuntu-based system, you'll need to create the build environment:
apt-get build-dep Nginxmkdir ~/nginxbuild ...
Read now
Unlock full access