To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / deploy / provision.d / 010-passenger.sh @ 1610:c6bee0e62957
History | View | Annotate | Download (381 Bytes)
| 1 |
#!/bin/bash |
|---|---|
| 2 |
|
| 3 |
set -e |
| 4 |
|
| 5 |
# Phusion Passenger as application server. |
| 6 |
# This gets installed through gem, not apt, and we ask for a specific |
| 7 |
# version (the last in the 4.0.x line). |
| 8 |
|
| 9 |
if [ ! -f /var/lib/gems/2.3.0/gems/passenger-4.0.60/buildout/apache2/mod_passenger.so ]; then |
| 10 |
gem install passenger -v 4.0.60 --no-rdoc --no-ri |
| 11 |
passenger-install-apache2-module --languages=ruby |
| 12 |
fi |
| 13 |
|