pyenv/bin/rbenv-rehash

10 lines
165 B
Text
Raw Normal View History

2011-08-02 22:43:43 +00:00
#!/bin/bash -e
2011-08-01 20:50:26 +00:00
mkdir -p "${HOME}/.rbenv/shims"
2011-08-01 21:43:19 +00:00
cd "${HOME}/.rbenv/shims"
rm -f *
2011-08-01 20:50:26 +00:00
for file in ../versions/*/bin/*; do
ln -fs ../bin/rbenv-shim "${file##*/}"
done