From 5c7b582b7583e2fc3eb903d540827c0ad46728ab Mon Sep 17 00:00:00 2001 From: CMK Date: Wed, 27 Jul 2022 18:41:39 +0800 Subject: [PATCH] chore: export brew installed ruby --- ci_scripts/ci_post_clone.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ci_scripts/ci_post_clone.sh b/ci_scripts/ci_post_clone.sh index ee67ff0b5..75605f7b7 100755 --- a/ci_scripts/ci_post_clone.sh +++ b/ci_scripts/ci_post_clone.sh @@ -14,7 +14,11 @@ echo $PWD # install ruby from homebrew brew install ruby +echo 'export PATH="/Users/local/Homebrew/opt/ruby/bin:$PATH"' >> ~/.zshrc +source ~/.zshrc + ruby --version +which gem # workaround default installation location cannot access without sudo problem echo 'export GEM_HOME=$HOME/gems' >>~/.bash_profile