diff --git a/bin/rbenv-rehash b/bin/rbenv-rehash old mode 100755 new mode 100644 index 854bd050..c0096616 --- a/bin/rbenv-rehash +++ b/bin/rbenv-rehash @@ -5,5 +5,10 @@ cd "${HOME}/.rbenv/shims" rm -f * for file in ../versions/*/bin/*; do - ln -fs ../bin/rbenv-shim "${file##*/}" + shim="${file##*/}" + cat > "$shim" <