[macOS] Keep ruby 2.7 as the default one (#2358)

* Set ruby 2.7 instead of the latest one

* change ruby path in bashrc
This commit is contained in:
Mikhail Timofeev
2020-12-28 12:53:43 +03:00
committed by GitHub
parent 7c15befd02
commit ab06a8a68f
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ export PATH=$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$ANDROID_NDK_HOME:$
export PATH=/usr/local/go/bin:$PATH
export PATH=/usr/local/bin:/usr/local/sbin:~/bin:~/.yarn/bin:$PATH
export PATH="/usr/local/opt/curl/bin:$PATH"
export PATH="/usr/local/opt/ruby/bin:$PATH"
export PATH="/usr/local/opt/ruby@2.7/bin:$PATH"
GEM_PATH=`gem env|awk '/EXECUTABLE DIRECTORY/ {print $4}'`
export PATH="$GEM_PATH:$PATH"
export PATH=$HOME/.cargo/bin:$PATH