aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2023-12-27 01:32:11 +0800
committerGuangxiong Lin <[email protected]>2023-12-27 01:32:11 +0800
commit24324723a0916a4ff9b2842a6134915f1d38db7e (patch)
treea718c9ceb3e02214afda2ec7edf3c184ed2b7472
parent4d77b7e3165196342f7a6cc83eb549b63735ff5b (diff)
downloaddotfiles-24324723a0916a4ff9b2842a6134915f1d38db7e.tar.gz
dotfiles-24324723a0916a4ff9b2842a6134915f1d38db7e.tar.bz2
dotfiles-24324723a0916a4ff9b2842a6134915f1d38db7e.zip
Use homebrew ruby by default
-rw-r--r--.macos2
1 files changed, 2 insertions, 0 deletions
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"