From 550be412e4af2286362d4f8016ba2db7b739280c Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sat, 22 Jan 2022 17:25:54 +0100 Subject: [PATCH] vagrant: fix vagrant scp on macOS, fixes #5921 it did not find pyenv in PATH, resulting in unpretty error messages. --- Vagrantfile | 2 ++ 1 file changed, 2 insertions(+) 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