mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
21 lines
417 B
Bash
Executable file
21 lines
417 B
Bash
Executable file
#!/bin/bash
|
|
|
|
SUPPORTED_VERSIONS=$(<script/SUPPORTED_VERSIONS)
|
|
|
|
install-gems-for-version() {
|
|
local version="$1"
|
|
|
|
if [[ $version == "latest" ]]; then
|
|
version=""
|
|
fi
|
|
|
|
(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
|
|
|
|
install-gems-for-version latest
|