pyenv/bin/rbenv-rehash
2011-08-02 19:11:41 -04:00

9 lines
173 B
Bash
Executable file

#!/usr/bin/env bash -e
mkdir -p "${HOME}/.rbenv/shims"
cd "${HOME}/.rbenv/shims"
rm -f *
for file in ../versions/*/bin/*; do
ln -fs ../bin/rbenv-shim "${file##*/}"
done