You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently, I just set up a Linux, Fedora actually, with no homebrew and had
this issue.
I suspect the problem comes from this commit. fc26249
This code assumes that asdf is already installed in the system, either through
homebrew or regular asdf.
This code assumes homebrew already installed in the system.
In a system with no asdf and Homebrew installed, the shell will run into the second case, executing which brew which will cause an error.
I'm not sure what's really going on here. The zsh script is too hardcore for
me. But I believe something's broken when you try to execute brew when it doesn't exist in the system.
My naive implementation would be using the same code introduced in this commit #704.
to check if Homebrew is present in the system before proceed to source the asdf
Thank you.
The text was updated successfully, but these errors were encountered:
Recently, I just set up a Linux, Fedora actually, with no homebrew and had
this issue.
I suspect the problem comes from this commit. fc26249
homebrew or regular asdf.
In a system with no asdf and Homebrew installed, the shell will run into the second case, executing
which brew
which will cause an error.I'm not sure what's really going on here. The zsh script is too hardcore for
me. But I believe something's broken when you try to execute brew when it doesn't exist in the system.
My naive implementation would be using the same code introduced in this commit #704.
to check if Homebrew is present in the system before proceed to source the asdf
Thank you.
The text was updated successfully, but these errors were encountered: