From b2c3099fb9ac09685c706d7de01f7aea5efc33c6 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 083f58f68..32d866b08 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -207,6 +207,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