Mercurial > hg > soundsoftware-site
annotate deploy/provision.d/060-bundler.sh @ 1628:9c5f8e24dadc live tip
Quieten this cron script
author | Chris Cannam |
---|---|
date | Tue, 25 Aug 2020 11:38:49 +0100 |
parents | 94669513c53c |
children |
rev | line source |
---|---|
Chris@1577 | 1 #!/bin/bash |
Chris@1577 | 2 |
Chris@1577 | 3 set -e |
Chris@1577 | 4 |
Chris@1589 | 5 # Install Ruby gems for the web app. |
Chris@1589 | 6 |
Chris@1589 | 7 # We aim to make all of these provisioning scripts non-destructive if |
Chris@1589 | 8 # run more than once. In this case, running the script again will |
Chris@1589 | 9 # install any outstanding updates. |
Chris@1589 | 10 |
Chris@1577 | 11 cd /var/www/code |
Chris@1577 | 12 gem install bundler |
Chris@1577 | 13 bundle install |
Chris@1577 | 14 |