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 @ 1608:b8e5e9734526
History | View | Annotate | Download (381 Bytes)
| 1 | 1577:e38eee2e1d47 | Chris | #!/bin/bash |
|---|---|---|---|
| 2 | |||
| 3 | set -e |
||
| 4 | |||
| 5 | 1589:94669513c53c | Chris | # 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 | 1577:e38eee2e1d47 | Chris | |
| 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 |