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 / 060-bundler.sh @ 1612:2496b955f638
History | View | Annotate | Download (284 Bytes)
| 1 |
#!/bin/bash |
|---|---|
| 2 |
|
| 3 |
set -e |
| 4 |
|
| 5 |
# Install Ruby gems for the web app. |
| 6 |
|
| 7 |
# We aim to make all of these provisioning scripts non-destructive if |
| 8 |
# run more than once. In this case, running the script again will |
| 9 |
# install any outstanding updates. |
| 10 |
|
| 11 |
cd /var/www/code |
| 12 |
gem install bundler |
| 13 |
bundle install |
| 14 |
|