shims/gems/rubocop: handle when brew isn't in PATH.
Instead, figure out where `$HOMEBREW_PREFIX/bin` should be and use that.
This commit is contained in:
parent
13b060ab86
commit
5b8bc14afd
@ -1,2 +1,3 @@
|
||||
#!/bin/bash
|
||||
exec brew rubocop "$@"
|
||||
HOMEBREW_PREFIX_BIN="$(cd "$(dirname "$0")"/../../../../ && pwd)/bin/"
|
||||
exec "${HOMEBREW_PREFIX_BIN}"brew rubocop "$@"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user