-
Notifications
You must be signed in to change notification settings - Fork 13
FileNotFoundError: No such file or directory: '/usr/local/bin/limactl' #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is unexpected. Where are |
I used homebrew to install, so they’re in |
Annoyingly gui apps don't inherit your PATH from I'll make |
`brew` doesn't always use `/usr/local/bin` any more, and the GUI menubar app doesn't inherit `$PATH` from `.zshrc`/`.bashrc` which caused problems. We now add a list of potential directories to `$PATH` if they exist and are directories. Closes #24 Signed-off-by: Joe Block <[email protected]>
`brew` doesn't always use `/usr/local/bin` any more, and macOS doesn't pass the `$PATH` from `.zshrc`/`.bashrc` to GUI applications which caused problems with a `brew`-installed version of `lima`. We now add a list of potential directories to `$PATH` if they exist and are directories. Closes #24 Signed-off-by: Joe Block <[email protected]>
Out of curiosity, are you running on an ARM Mac? My Intel MBP installed |
`brew` doesn't always use `/usr/local/bin` any more, and macOS doesn't pass the `$PATH` from `.zshrc`/`.bashrc` to GUI applications which caused problems with a `brew`-installed version of `lima`. We now add a list of potential directories to `$PATH` if they exist and are directories. We also look for `/opt/local/bin` to handle macports. Closes #24 Signed-off-by: Joe Block <[email protected]>
`brew` doesn't always use `/usr/local/bin` any more, and macOS doesn't pass the `$PATH` from `.zshrc`/`.bashrc` to GUI applications which caused problems with a `brew`-installed version of `lima`. `prep_environment_for_lima()` now adds a list of potential directories to `$PATH` if they exist and are directories - currently `/usr/local/bin`, `/opt/homebrew/bin` and `/opt/local/bin`. Closes #24 Signed-off-by: Joe Block <[email protected]>
Yes I am. It also is a corporate MacBook but we don't tend to mess with defaults too much. |
Let me know if you still have issues - #25 should have fixed the issue with |
I'm getting the following error in xbar:
I've tried a few permutations of adding
/usr/local/bin
and/opt/homebrew/bin
to the command, as well as checking environment variables.Ultimately, I had to symlink
lima
andlimactl
into/usr/local/bin
. Is this expected, and should this be part of the Makefile?The text was updated successfully, but these errors were encountered: