From c849ac76e23e752a4b6f5195ed0388df527b0ca7 Mon Sep 17 00:00:00 2001 From: Brooke Kuhlmann Date: Sun, 25 Jul 2021 08:26:21 -0600 Subject: [PATCH] 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. --- lib/installers.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/installers.sh b/lib/installers.sh index 2b0ecd6..164fbea 100644 --- a/lib/installers.sh +++ b/lib/installers.sh @@ -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 }