From f89cae5580a329a8625cfc72f460e0cddaed047c Mon Sep 17 00:00:00 2001 From: Tim Coutinho Date: Sat, 26 Dec 2020 18:59:10 -0700 Subject: [PATCH] Fix ruby command --- shallow_backup/backup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shallow_backup/backup.py b/shallow_backup/backup.py index a63d3c9f..89aaf681 100644 --- a/shallow_backup/backup.py +++ b/shallow_backup/backup.py @@ -139,9 +139,9 @@ def run_cmd_if_no_dry_run(command, dest, dry_run) -> int: overwrite_dir_prompt_if_needed(backup_path, skip) # ruby - print_pkg_mgr_backup(mgr) - command = f"{mgr} list" - dest = f"{backup_path}/{mgr.replace(' ', '-')}_list.txt" + print_pkg_mgr_backup("gem") + command = "gem list" + dest = f"{backup_path}/gem_list.txt" run_cmd_if_no_dry_run(command, dest, dry_run) # brew