-
Notifications
You must be signed in to change notification settings - Fork 71
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
unknown command: mix. Perhaps you have to reshim? #120
Comments
Manually downloading kerl as you are doing should not be necessary. Can you explain why you are doing that? Also, overriding |
Moved to the elixir plugin as this doesn't seem to an issue with asdf core. |
I am manually downloading kerl because I had an error once where kerl wasn't found. I will remove that. I really need to override I tried to set all these env vars
And now I am getting another error after I run mix: What else should I try? |
Did you verify elixir is installed with |
@Stratus3D Yes, elixir is installed, and I have added these 2 lines (again) before running any mix command and after overriding the
|
@Stratus3D As soon as I override the |
I've the same problem, it's actually kind of interesting. `mix is /Users/keremozdemir/.asdf/shims/mix SHELL: BASH VERSION: ASDF VERSION: ASDF INTERNAL VARIABLES: ASDF INSTALLED PLUGINS: ~ ❯ asdf list config.fish: `set -x LANG en_US.UTF-8 set -x JAVA_HOME /Library/Java/JavaVirtualMachines/amazon-corretto-17.jdk/Contents/Home set -gx GSAP_TOKEN "XXXXXXX" set -gx CFLAGS "-O2 -g -fno-stack-check" if status is-interactive source ~/.iterm2_shell_integration.fish pnpmset -gx PNPM_HOME "/Users/keremozdemir/Library/pnpm" pnpm end` |
Describe the Bug
I got an error
unknown command: mix. Perhaps you have to reshim?
after installing elixir and erlang, and runningmix
.I have added
asdf reshim
and the absolute path ofmix
(/home/user/.asdf/shims/mix
), and it didn't solve the issue.Steps to Reproduce
run the following shell script on ubuntu 18.04:
Expected Behaviour
be able to use mix without any errors
Actual Behaviour
I got an error:
unknown command: mix. Perhaps you have to reshim?
Environment
asdf plugins affected (if relevant)
elixir
anderlang
The text was updated successfully, but these errors were encountered: