diff options
-rw-r--r-- | profile.dot.link | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/profile.dot.link b/profile.dot.link index 81253fd..22c577d 100644 --- a/profile.dot.link +++ b/profile.dot.link @@ -89,6 +89,15 @@ if [ -e "$HOME/apps/go" ]; then PATH="$GOPATH/bin:$PATH" fi +# Add local gems into PATH +if which gem &> /dev/null; then + LOCAL_GEMPATH="`gem environment gempath | cut -d : -f 1`/bin" + + if [ -d "$LOCAL_GEMPATH" ]; then + PATH="$LOCAL_GEMPATH:$PATH" + fi +fi + # Add local NixOS into PATH if [ -e "$HOME/.nix-profile/etc/profile.d/nix.sh" ]; then . $HOME/.nix-profile/etc/profile.d/nix.sh |