pyenv/bin/rbenv-rehash
2011-08-02 15:23:26 -05:00

11 lines
167 B
Bash
Executable file

#!/bin/bash
set -e
mkdir -p "${HOME}/.rbenv/shims"
cd "${HOME}/.rbenv/shims"
rm *
for file in ../versions/*/bin/*; do
ln -fs ../bin/rbenv-shim "${file##*/}"
done