bin/setup-gem-faves@3689f5ec5f37
bin/setup-gem-faves
Thu, 01 Jun 2023 13:25:14 -0400
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Thu, 01 Jun 2023 13:25:14 -0400
- changeset 1117
- 3689f5ec5f37
- parent 990
-
a4f19f325dea
- permissions
- -rwxr-xr-x
add task stub
#!/bin/sh
set -eu
if ! [ -w "$(gem env gemdir)" ]; then
export GEM_HOME="$(ruby -e 'puts Gem.user_dir')"
fi
if ! bundle --version >/dev/null 2>&1; then
gem install bundler
fi
export \
BUNDLE_IGNORE_CONFIG=1 \
BUNDLE_FROZEN=0
bundle install --jobs=2 --gemfile=~/.Gemfile
rm -f ~/.Gemfile.lock