1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00
thoughtbot--shoulda-matchers/script/install_gems_in_all_appraisals
2018-01-24 00:30:10 -06:00

16 lines
347 B
Bash
Executable file

#!/bin/bash
set -euo pipefail
SUPPORTED_VERSIONS=$(script/supported_ruby_versions)
install-gems-for-version() {
local version="$1"
(export RBENV_VERSION=$version; bundle && bundle exec appraisal install)
}
for version in $SUPPORTED_VERSIONS; do
echo
echo "*** Installing gems for $version ***"
install-gems-for-version $version
done