bin/setup-gem-faves@07d37da233ef
bin/setup-gem-faves
Mon, 13 Feb 2023 02:22:25 -0600
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Mon, 13 Feb 2023 02:22:25 -0600
- changeset 1016
- 07d37da233ef
- parent 990
-
a4f19f325dea
- permissions
- -rwxr-xr-x
Add lsp-specific config
#!/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