bin/setup-gem-faves@1bd6edeaf6ae
bin/setup-gem-faves
Tue, 19 Sep 2023 17:12:00 -0500
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Tue, 19 Sep 2023 17:12:00 -0500
- changeset 1129
- 1bd6edeaf6ae
- parent 990
-
a4f19f325dea
- permissions
- -rwxr-xr-x
fix error when unnamed buffers can't be written
#!/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