pyenv/bin/rbenv-rehash
2011-08-02 17:43:43 -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