chore: export brew installed ruby
This commit is contained in:
parent
603c348b64
commit
5c7b582b75
|
@ -14,7 +14,11 @@ echo $PWD
|
||||||
|
|
||||||
# install ruby from homebrew
|
# install ruby from homebrew
|
||||||
brew install ruby
|
brew install ruby
|
||||||
|
echo 'export PATH="/Users/local/Homebrew/opt/ruby/bin:$PATH"' >> ~/.zshrc
|
||||||
|
source ~/.zshrc
|
||||||
|
|
||||||
ruby --version
|
ruby --version
|
||||||
|
which gem
|
||||||
|
|
||||||
# workaround default installation location cannot access without sudo problem
|
# workaround default installation location cannot access without sudo problem
|
||||||
echo 'export GEM_HOME=$HOME/gems' >>~/.bash_profile
|
echo 'export GEM_HOME=$HOME/gems' >>~/.bash_profile
|
||||||
|
|
Loading…
Reference in New Issue