#!/bin/sh
set -e 0

if ! bundle check 1>/dev/null 2>&1; then
  bundle install --no-color --binstubs --path vendor/gems
fi

npm install
./node_modules/bower/bin/bower install --no-color
