aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2023-10-13 04:55:07 +0800
committerGuangxiong Lin <[email protected]>2023-10-13 04:55:07 +0800
commitccbf70ffd5b00f2c330c8238c433014c4b9cc703 (patch)
tree8950963f1a1b6d934b9f86cd60559c3da5e37098
parentacad3afbb2fc28a7db62a41045ead6dbf31d45b2 (diff)
downloaddotfiles-ccbf70ffd5b00f2c330c8238c433014c4b9cc703.tar.gz
dotfiles-ccbf70ffd5b00f2c330c8238c433014c4b9cc703.tar.bz2
dotfiles-ccbf70ffd5b00f2c330c8238c433014c4b9cc703.zip
Add gem bin config
-rwxr-xr-x.path5
1 files changed, 5 insertions, 0 deletions
diff --git a/.path b/.path
index 5b78432..8f0ee43 100755
--- a/.path
+++ b/.path
@@ -8,3 +8,8 @@ then
export GOPATH=$(go env GOPATH)
export PATH=$PATH:$(go env GOPATH)/bin
fi
+
+if command -v gem &> /dev/null; then
+ export GEM_HOME="$(gem env user_gemhome)"
+ export PATH="$PATH:$GEM_HOME/bin"
+fi