#!/bin/bash -e mkdir -p "${HOME}/.rbenv/shims" cd "${HOME}/.rbenv/shims" rm -f * for file in ../versions/*/bin/*; do shim="${file##*/}" cat > "$shim" <