3 ms·
You should check out the most recent versions of Passenger (a Ruby app server). You install Passenger using a simple call to `gem install passenger`, then run a
by bradleyland 16y ago
You should check out the most recent versions of Passenger (a Ruby app server). You install Passenger using a simple call to `gem install passenger`, then run a single command to install the Apache module and copy/paste two lines in to your Apache config. Outside of having the module delivered by your OS distribution (like PHP + Apache), it's the easiest, most integrated app server install I've ever performed.
Passenger configuration is done through your Apache vhost configs. You tell Passenger how many app server processes to spawn, restart Apache, and you're done. Passenger even plays nice with user-specific deployment strategies, meaning your Ruby apps will automatically run as the user who owns the Ruby app files. I'm not even sure mod_php does that. Passenger architecture includes process monitoring that keeps track of your Ruby processes, so you no longer have to implement "watcher" apps like Monit of God.