anishathalye / dotbot

A tool that bootstraps your dotfiles ⚡️
MIT License
6.91k stars 288 forks source link

pyenv configuration in vagrant vm does not update PATH #280

Closed eengstrom closed 3 years ago

eengstrom commented 3 years ago

Due to breaking change in pyenv (version 2.0.0), using eval $(pyenv init -) will NOT set the PATH, as noted in friendly warning:

WARNING: `pyenv init -` no longer sets PATH.
Run `pyenv init` to see the necessary changes to make to your configuration.

This affects the testing framework - easy patch in Vagrantfile

c.f. https://github.com/pyenv/pyenv/issues/1649#issuecomment-694388530