pyenv/bin/rbenv-rehash

11 lines
133 B
Text
Raw Normal View History

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