diff options
Diffstat (limited to '.path')
-rwxr-xr-x | .path | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -9,7 +9,10 @@ then export PATH=$PATH:$(go env GOPATH)/bin fi -if gem env user_gemhome &> /dev/null; then +# gem env is quite slow in macos. +# Don't set the environment variables as mitigation. +if [ ! $(uname) = Darwin ] && + gem env user_gemhome &> /dev/null; then export GEM_HOME="$(gem env user_gemhome)" export PATH="$PATH:$GEM_HOME/bin" fi |