asdf
asdf copied to clipboard
Linuxbrew WSL2 install bug
Installed without failure, however when invoking I get:
asdf
cat: /home/linuxbrew/.linuxbrew/VERSION: No such file or directory
version:
cat: /home/linuxbrew/.linuxbrew/help.txt: No such file or directory
Don't know what the descrepencies between OSX homebrew and linuxbrew installations, but I have asdf working on my osx using homebrew.
I'm unsure how Linuxbrew handles the dependencies Brew Formulae when they are platform specific, which I believe they are in this case.
It seems to be reading from the wrong path, as I would expect:
/home/linuxbrew/.linuxbrew/VERSION
to be
/home/linuxbrew/.linuxbrew/asdf/VERSION
or something similar.
Do you have any ASDF env vars set in your shell config? can you run
env | grep -E "ASDF_DIR|ASDF_DATA_DIR|ASDF_CONFIG_FILE|ASDF_DEFAULT_TOOL_VERSIONS_FILENAME"
I'm experiencing the same after installing asdf
via homebrew (on native GNU/Linux, though):
And I'm also getting things like these when I try to call asdf
:
The command
env | grep -E "ASDF_DIR|ASDF_DATA_DIR|ASDF_CONFIG_FILE|ASDF_DEFAULT_TOOL_VERSIONS_FILENAME"
doesn't return anything.
I am also running into this same issue on Fedora 33 after installing asdf
via brew
.
Can each of you share your asdf info
output?
Can each of you share your
asdf info
output?
As of today, our documentation covers how to setup asdf via Homebrew on non-macOS machines. I am not sure if these instructions came before or after this issue. I am inclined to say the docs came after this issue as no new users have commented or :+1: this issue in ~2 years.
I will close for now.
If you find this Issue, please open a new one to discuss as it will be more clear what instructions you used to setup your system and what version of our docs might have problems.