pyenv/bin/rbenv-rehash

11 lines
133 B
Text
Raw Normal View History

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