We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4aa66f commit 06bd75bCopy full SHA for 06bd75b
macos/runtime_setup_stages/install_gems.sh
@@ -4,7 +4,8 @@ ROOTDIR=$(dirname "$0")
4
ROOTDIR=$(cd "$ROOTDIR/../.." && pwd)
5
source "$ROOTDIR/shared/lib/library.sh"
6
7
-read -ra RUBY_VERSIONS < "$ROOTDIR/shared/definitions/ruby_versions"
+declare -a RUBY_VERSIONS
8
+readarray -t RUBY_VERSIONS < "$ROOTDIR/shared/definitions/ruby_versions"
9
LAST_RUBY_VERSION=${RUBY_VERSIONS[${#RUBY_VERSIONS[@]} - 1]}
10
11
if [[ -e /usr/local/rvm/bin/rvm-exec ]]; then
0 commit comments