Adjust gem install script to not use latest Ruby
We're already using the "latest" Ruby which is 2.1.1 at this point in time.
This commit is contained in:
parent
b71996eeff
commit
dd89ff2169
|
@ -4,11 +4,6 @@ SUPPORTED_VERSIONS=$(<script/SUPPORTED_VERSIONS)
|
||||||
|
|
||||||
install-gems-for-version() {
|
install-gems-for-version() {
|
||||||
local version="$1"
|
local version="$1"
|
||||||
|
|
||||||
if [[ $version == "latest" ]]; then
|
|
||||||
version=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
(export RBENV_VERSION=$version; bundle && bundle exec appraisal install)
|
(export RBENV_VERSION=$version; bundle && bundle exec appraisal install)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,5 +12,3 @@ for version in $SUPPORTED_VERSIONS; do
|
||||||
echo "*** Installing gems for $version ***"
|
echo "*** Installing gems for $version ***"
|
||||||
install-gems-for-version $version
|
install-gems-for-version $version
|
||||||
done
|
done
|
||||||
|
|
||||||
install-gems-for-version latest
|
|
||||||
|
|
Loading…
Reference in New Issue