diff --git a/Vagrantfile b/Vagrantfile index 2b58d6c63..159d63b8c 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -145,6 +145,8 @@ def install_pyenv(boxname) . ~/.bash_profile curl -s -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash echo 'eval "$(pyenv init --path)"' >> ~/.bash_profile + echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc + echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc echo 'eval "$(pyenv init -)"' >> ~/.bashrc echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.bashrc EOF