BSD Ports

www/rubygem-passenger 6.0.26 DragonFly

Modules for running Ruby on Rails and Rack applications

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
rubygems, www
Package size
29588.6 KiB, 253635.5 KiB installed

Description

Passenger are Apache and nginx modules allowing for simple deployment of Ruby on Rails and Rack applications.

In the other systems

SystemPortVersion
DragonFlywww/rubygem-passenger6.0.26
FreeBSDwww/rubygem-passenger6.2.0
HardenedBSDwww/rubygem-passenger6.2.0
GhostBSDwww/rubygem-passenger6.2.0

Install

Binary package:

pkg install rubygem-passenger-nginx

From DPorts:

cd /usr/dports/www/rubygem-passenger && make install clean

Dependencies

Run dependencies 10

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
rubygem-passenger-apache-6.0.26

Message after installing

The nginx flavor of this port installs passenger core binaries only,
to make it works with nginx make sure www/nginx or www/nginx-devel
port has been compiled with third-party PASSENGER module support and
installed into a system.



Please edit a nginx configuration file, and add these lines:

   server {
       root /usr/local/lib/ruby/gems/3.2/gems/passenger;
       passenger_enabled on;
       passenger_ruby /usr/local/bin/ruby32;
       passenger_sticky_sessions on;
   }
   
Once nginx restarts it's possible to deploy a Ruby on Rails
application without any further Ruby on Rails-specific configuration!