Fix RubyGems issues for mise regarding sudo (#887)
This commit is contained in:
@@ -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")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user