thoughtbot--shoulda-matchers/script/install_gems_in_all_appraisals

15 lines
324 B
Bash
Executable File

#!/bin/bash
SUPPORTED_VERSIONS=$(<script/SUPPORTED_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