diff --git a/libexec/rbenv-rehash b/libexec/rbenv-rehash index 53ab045f..8f0c9b40 100755 --- a/libexec/rbenv-rehash +++ b/libexec/rbenv-rehash @@ -113,7 +113,7 @@ install_registered_shims() { local shim file for shim in $registered_shims; do file="${SHIM_PATH}/${shim}" - [ -e "$file" ] || ln -f "$PROTOTYPE_SHIM_PATH" "$file" + [ -e "$file" ] || cp "$PROTOTYPE_SHIM_PATH" "$file" done }