2014-06-27 19:22:04 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-01-24 06:02:35 +00:00
|
|
|
set -euo pipefail
|
|
|
|
|
|
|
|
SUPPORTED_VERSIONS=$(script/supported_ruby_versions)
|
2014-06-27 19:22:04 +00:00
|
|
|
|
|
|
|
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
|