aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/deps.sh
blob: 0f06db45b559498b1a49b08115bade04bd044216 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash

set -o errexit -o nounset -o pipefail
shopt -s inherit_errexit lastpipe

rbenv install --skip-existing "$( cat .ruby-version )"
rbenv rehash

gem install bundler -v "$( tail -n 1 Gemfile.lock )"
rbenv rehash

bundle install
rbenv rehash