From ccbf70ffd5b00f2c330c8238c433014c4b9cc703 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Fri, 13 Oct 2023 04:55:07 +0800 Subject: Add gem bin config --- .path | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.path') 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 -- cgit v1.2.3