diff --git a/bash/bashrc b/bash/bashrc index 6bc6f09..d7247bf 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -77,8 +77,12 @@ function sojourner_tmux(){ #=============================================================================== # Path #=============================================================================== -# rbenv -PATH="$HOME/.rbenv/bin:$PATH" +# Ruby Gems +if which ruby >/dev/null && which gem >/dev/null; then + PATH="$(ruby -rubygems -e 'puts Gem.user_dir')/bin:$PATH" +fi +# Custom stuff +PATH="$HOME/bin:$PATH" # Add Python to path PYTHONPATH="${PYTHONPATH}" export PYTHONPATH diff --git a/bash/bashrc-remote b/bash/bashrc-remote index d3c71ee..83625de 100644 --- a/bash/bashrc-remote +++ b/bash/bashrc-remote @@ -47,8 +47,6 @@ function show_git_info(){ if which ruby >/dev/null && which gem >/dev/null; then PATH="$(ruby -rubygems -e 'puts Gem.user_dir')/bin:$PATH" fi -# RVM -PATH="$HOME/.rvm/bin:$PATH" # Custom stuff PATH="$HOME/bin:$PATH" # Add Python to path