From 2e0c8e9e17716f4ffe8c179318cd79be5b8ca376 Mon Sep 17 00:00:00 2001 From: "Patrick J. Roddy" Date: Sun, 18 Aug 2024 03:28:22 +0100 Subject: [PATCH] Fix `RubyGems` issues for `mise` regarding `sudo` (#887) --- src/steps/generic.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/steps/generic.rs b/src/steps/generic.rs index 528b94b0..dce89ec7 100644 --- a/src/steps/generic.rs +++ b/src/steps/generic.rs @@ -121,6 +121,7 @@ pub fn run_rubygems(ctx: &ExecutionContext) -> Result<()> { print_separator("RubyGems"); let gem_path_str = gem.as_os_str(); if gem_path_str.to_str().unwrap().contains("asdf") + || gem_path_str.to_str().unwrap().contains("mise") || gem_path_str.to_str().unwrap().contains(".rbenv") || gem_path_str.to_str().unwrap().contains(".rvm") {