fix(gem): fix incorrectly placed debug message in gem step (#1212)
This commit is contained in:
@@ -106,8 +106,9 @@ pub fn run_gem(ctx: &ExecutionContext) -> Result<()> {
|
|||||||
command.arg("update");
|
command.arg("update");
|
||||||
|
|
||||||
if env::var_os("RBENV_SHELL").is_none() {
|
if env::var_os("RBENV_SHELL").is_none() {
|
||||||
debug!("Detected rbenv. Avoiding --user-install");
|
|
||||||
command.arg("--user-install");
|
command.arg("--user-install");
|
||||||
|
} else {
|
||||||
|
debug!("Detected rbenv. Avoiding --user-install");
|
||||||
}
|
}
|
||||||
|
|
||||||
command.status_checked()
|
command.status_checked()
|
||||||
|
|||||||
Reference in New Issue
Block a user