From 77b3f2392fc3b27482dad56b7fd47696c4bb6a6f Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Fri, 19 May 2017 11:18:01 -0500 Subject: [PATCH] Add rbenv, if present. --- .bash_profile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.bash_profile b/.bash_profile index d824349..1f49df7 100644 --- a/.bash_profile +++ b/.bash_profile @@ -90,6 +90,11 @@ export PATH="$brew_prefix/opt/php56/bin:$PATH" export NVM_DIR="$HOME/.nvm" . "$brew_prefix/opt/nvm/nvm.sh" +# Use rbenv. +if [ -f /usr/local/bin/rbenv ]; then + eval "$(rbenv init -)" +fi + # Vagrant configuration. # export VAGRANT_DEFAULT_PROVIDER='virtualbox'