summaryrefslogtreecommitdiff
path: root/bin/setup
blob: b54a99f87dd4b070e06785ec1a2923bb30ff894f (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -e

cd "$(dirname "$0")/.."

gem install bundler --conservative -v '~> 2.0' -q
bundle install --quiet
if [ ! -f /usr/sbin/haproxy ] && command -v apt-get; then
  apt-get update -y && apt-get install -y --no-install-recommends haproxy
fi