From ee28395f6691b5143a6c498c43f5b1a4f3e3c12a Mon Sep 17 00:00:00 2001 From: Brooke Kuhlmann Date: Sun, 10 Nov 2024 11:23:57 -0700 Subject: [PATCH] Fixed library install order Necessary to ensure Rust libraries are installed first especially in regards to Ruby since Ruby needs `rustc` for YJIT support. Milestone: patch --- bin/run | 4 ++-- lib/options.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/run b/bin/run index fe2c71a..7a7f463 100755 --- a/bin/run +++ b/bin/run @@ -42,9 +42,9 @@ while true; do printf "%s\n" " r: Restore backups." printf "%s\n" " i: Install all (i.e. executes all of the above steps in order listed)." printf "%s\n" " Libraries:" - printf "%s\n" " np: Install Node packages." - printf "%s\n" " rg: Install Ruby gems." printf "%s\n" " rc: Install Rust crates." + printf "%s\n" " rg: Install Ruby gems." + printf "%s\n" " np: Install Node packages." printf "%s\n" " l: Install libraries (i.e. executes all of the above steps in order listed)." printf "%s\n" " Manage:" printf "%s\n" " c: Check status of managed software." diff --git a/lib/options.sh b/lib/options.sh index 75bc176..1306d85 100644 --- a/lib/options.sh +++ b/lib/options.sh @@ -50,9 +50,9 @@ process_option() { 'rc') bin/install_rust_crates;; 'l') - bin/install_node_packages + bin/install_rust_crates bin/install_ruby_gems - bin/install_rust_crates;; + bin/install_node_packages;; 'c') verify_homebrew_formulas verify_homebrew_casks