Chris@1577: #!/bin/bash Chris@1577: Chris@1577: set -e Chris@1577: Chris@1589: # Phusion Passenger as application server. Chris@1589: # This gets installed through gem, not apt, and we ask for a specific Chris@1589: # version (the last in the 4.0.x line). Chris@1577: Chris@1577: if [ ! -f /var/lib/gems/2.3.0/gems/passenger-4.0.60/buildout/apache2/mod_passenger.so ]; then Chris@1577: gem install passenger -v 4.0.60 --no-rdoc --no-ri Chris@1577: passenger-install-apache2-module --languages=ruby Chris@1577: fi Chris@1577: