blob: fc2f6b2bee65f4182e926c0cf099114e5beb4eb3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/bash
#
# This script runs a passed in command, but first setups up the bundler caching on the repo
set -ue
export USER="root"
export LANG=C.UTF-8 LANGUAGE=C.UTF-8
echo "--- bundle install"
bundle config --local path vendor/bundle
bundle install --jobs=7 --retry=3
echo "+++ bundle exec task"
bundle exec $@
|