From dc82b8b7662dbadbfc6c3cd73de00a5b7c4611c7 Mon Sep 17 00:00:00 2001 From: Armel Soro Date: Mon, 5 Dec 2022 14:16:03 +0100 Subject: [PATCH] Fix issue with RubyGems update command (#248) --- src/steps/generic.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/steps/generic.rs b/src/steps/generic.rs index 952fb8a2..ded37f50 100644 --- a/src/steps/generic.rs +++ b/src/steps/generic.rs @@ -90,7 +90,7 @@ pub fn run_rubygems(base_dirs: &BaseDirs, run_type: RunType) -> Result<()> { print_separator("RubyGems"); let mut command = run_type.execute(gem); - command.arg("update --system"); + command.args(["update", "--system"]); if env::var_os("RBENV_SHELL").is_none() { debug!("Detected rbenv. Avoiding --user-install");