Updated Ruby installer to use Frum

Necessary to match upcoming changes in the macOS Configuration project
where Frum is now the default Ruby Version Manager instead of chruby.
This commit is contained in:
Brooke Kuhlmann
2021-07-25 08:26:21 -06:00
parent 029fce45b4
commit c849ac76e2

View File

@@ -194,8 +194,8 @@ install_ruby() {
local version="$(cat $HOME/.ruby-version | tr -d '\n')"
if [[ ! -x "$(command -v ruby)" && -n $(ruby --version | grep --quiet "$version") ]]; then
$(get_homebrew_bin_root)/ruby-install "ruby-$version"
chruby "$version"
$(get_homebrew_bin_root)/frum install "$version"
$(get_homebrew_bin_root)/frum local "$version"
gem update --system && gem update
fi
}