aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.path2
1 files changed, 1 insertions, 1 deletions
diff --git a/.path b/.path
index 0add3e8..a367b10 100755
--- a/.path
+++ b/.path
@@ -9,7 +9,7 @@ then
export PATH=$PATH:$(go env GOPATH)/bin
fi
-if command -v gem &> /dev/null; then
+if gem env user_gemhome &> /dev/null; then
export GEM_HOME="$(gem env user_gemhome)"
export PATH="$PATH:$GEM_HOME/bin"
fi