diff options
author | Guangxiong Lin <[email protected]> | 2023-10-13 04:55:07 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2023-10-13 04:55:07 +0800 |
commit | ccbf70ffd5b00f2c330c8238c433014c4b9cc703 (patch) | |
tree | 8950963f1a1b6d934b9f86cd60559c3da5e37098 | |
parent | acad3afbb2fc28a7db62a41045ead6dbf31d45b2 (diff) | |
download | dotfiles-ccbf70ffd5b00f2c330c8238c433014c4b9cc703.tar.gz dotfiles-ccbf70ffd5b00f2c330c8238c433014c4b9cc703.tar.bz2 dotfiles-ccbf70ffd5b00f2c330c8238c433014c4b9cc703.zip |
Add gem bin config
-rwxr-xr-x | .path | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |