add_to_front_of_path for rbenv.

This commit is contained in:
Ivan Malison 2015-06-29 15:11:12 -07:00
parent b558d490c0
commit 1cfaabb37f

View File

@ -44,10 +44,6 @@ function with_shellrc {
# Travis completion # Travis completion
[ -f "$HOME/.travis/travis.sh" ] && source "$HOME/.travis/travis.sh" [ -f "$HOME/.travis/travis.sh" ] && source "$HOME/.travis/travis.sh"
export RBENV_ROOT=/usr/local/var/rbenv
export PATH="$HOME/.rbenv/bin:$PATH"
hash rbenv 2> /dev/null && eval "$(rbenv init -)"
test -e /usr/libexec/path_helper && eval `/usr/libexec/path_helper -s` test -e /usr/libexec/path_helper && eval `/usr/libexec/path_helper -s`
@ -56,3 +52,7 @@ export NVM_DIR="/Users/imalison/.nvm"
export NODE_PATH="/usr/local/lib/node_modules/" export NODE_PATH="/usr/local/lib/node_modules/"
add_to_front_of_path "~/.lib/python" 'PYTHONPATH' add_to_front_of_path "~/.lib/python" 'PYTHONPATH'
export RBENV_ROOT=/usr/local/var/rbenv
add_to_front_of_path "$HOME/.rbenv/bin"
hash rbenv 2> /dev/null && eval "$(rbenv init -)"