diff options
-rw-r--r-- | dot_config/zsh/dot_zshrc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dot_config/zsh/dot_zshrc b/dot_config/zsh/dot_zshrc index 829b5a7..aed91ed 100644 --- a/dot_config/zsh/dot_zshrc +++ b/dot_config/zsh/dot_zshrc @@ -25,6 +25,10 @@ case "$ID" in ;; esac +if [ -x "$(command -v gem)" ]; then + export GEM_HOME="$(gem env user_gemhome)" + export PATH="$PATH:$GEM_HOME/bin" +fi # Enable colors and change prompt: autoload -U colors && colors # Load colors |