pyenv/libexec/rbenv-rehash
2011-08-02 18:01:46 -05:00

9 lines
165 B
Bash
Executable file

#!/bin/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