From 24324723a0916a4ff9b2842a6134915f1d38db7e Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Wed, 27 Dec 2023 01:32:11 +0800 Subject: Use homebrew ruby by default --- .macos | 2 ++ 1 file changed, 2 insertions(+) (limited to '.macos') diff --git a/.macos b/.macos index 888dd99..7e810fa 100644 --- a/.macos +++ b/.macos @@ -13,3 +13,5 @@ alias bug='brew upgrade --greedy' [ "$(arch)" = 'arm64' ] && eval "$(/opt/homebrew/bin/brew shellenv)" [ "$(arch)" = 'arm64' ] || eval "$(/usr/local/Homebrew/bin/brew shellenv)" + +[ -d '/usr/local/opt/ruby/bin' ] && export PATH="/usr/local/opt/ruby/bin:$PATH" -- cgit v1.2.3