keybase / keybase/keybase-issues
homebrew client has "/usr/local" incorrectly hardcoded, login fails
- Dominant language
- No language data
- Stars
- 899
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
I tried to run "keybase login" after a "brew install" with my homebrew installed at /homebrew:
``` sh
~ (osx) % keybase login
▶ INFO Checking service
▶ INFO Service: Not Installed
▶ INFO Installing Keybase service
Unloading keybase.service
Unloading homebrew.mxcl.keybase
▶ ERROR Error installing Keybase service: stat /usr/local/opt/keybase/bin/keybase: no such file or directory
▶ ERROR stat /usr/local/opt/keybase/bin/keybase: no such file or directory
~ (osx) % brew --prefix
/homebrew
~ (osx) % which keybase
/homebrew/bin/keybase
```
Please consider using `$(brew --prefix)` instead of `/usr/local`.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start from the `keybase login` service-installation path and locate where `/usr/local/opt/keybase/bin/keybase` is constructed. Reproduce with `brew --prefix` set to `/homebrew`, then verify that login uses the Homebrew prefix and no longer reports the missing path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100