From 1cfaabb37fffa8962cdbd05b00adf9f511122462 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 29 Jun 2015 15:11:12 -0700 Subject: [PATCH] add_to_front_of_path for rbenv. --- dotfiles/lib/shellenv.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dotfiles/lib/shellenv.sh b/dotfiles/lib/shellenv.sh index 2918b2cb..3afcdaeb 100644 --- a/dotfiles/lib/shellenv.sh +++ b/dotfiles/lib/shellenv.sh @@ -44,10 +44,6 @@ function with_shellrc { # Travis completion [ -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` @@ -56,3 +52,7 @@ export NVM_DIR="/Users/imalison/.nvm" export NODE_PATH="/usr/local/lib/node_modules/" 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 -)"