blob: 7df19364280824321fc513379fa475bbfc77aceb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/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 $@
|