pyenv/bin/rbenv-rehash

10 lines
173 B
Text
Raw Normal View History

2011-08-02 19:11:41 -04:00
#!/usr/bin/env bash -e
2011-08-01 16:50:26 -04:00
mkdir -p "${HOME}/.rbenv/shims"
2011-08-01 17:43:19 -04:00
cd "${HOME}/.rbenv/shims"
rm -f *
2011-08-01 16:50:26 -04:00
for file in ../versions/*/bin/*; do
ln -fs ../bin/rbenv-shim "${file##*/}"
done