chore: export brew installed ruby

This commit is contained in:
CMK 2022-07-27 18:41:39 +08:00
parent 603c348b64
commit 5c7b582b75
1 changed files with 4 additions and 0 deletions

View File

@ -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