From 9124e07b541722c53f3bc266f8d70ae1c64a5cb1 Mon Sep 17 00:00:00 2001
From: Maxim Belkin <maxim.belkin@gmail.com>
Date: Mon, 11 May 2020 10:47:03 -0500
Subject: [PATCH] cmd/update.sh: keep HOMEBREW_RUBY_PATH set when updating

---
 Library/Homebrew/cmd/update.sh | 1 -
 1 file changed, 1 deletion(-)

diff --git a/Library/Homebrew/cmd/update.sh b/Library/Homebrew/cmd/update.sh
index a7c384a5af..19ece3f2d0 100644
--- a/Library/Homebrew/cmd/update.sh
+++ b/Library/Homebrew/cmd/update.sh
@@ -599,7 +599,6 @@ EOS
         -d "$HOMEBREW_LIBRARY/LinkedKegs" ||
         (-n "$HOMEBREW_DEVELOPER" && -z "$HOMEBREW_UPDATE_PREINSTALL") ]]
   then
-    unset HOMEBREW_RUBY_PATH
     brew update-report "$@"
     return $?
   elif [[ -z "$HOMEBREW_UPDATE_PREINSTALL" ]]
-- 
GitLab