Mike McQuaid 5b8bc14afd
shims/gems/rubocop: handle when brew isn't in PATH.
Instead, figure out where `$HOMEBREW_PREFIX/bin` should be and use that.
2022-08-30 12:53:42 +00:00

4 lines
130 B
Bash
Executable File

#!/bin/bash
HOMEBREW_PREFIX_BIN="$(cd "$(dirname "$0")"/../../../../ && pwd)/bin/"
exec "${HOMEBREW_PREFIX_BIN}"brew rubocop "$@"