ignatov/intellij-erlang

"erl: not found" while trying to setup rebar3 path

meppu opened this issue · 2 comments

meppu commented

I use erlang with asdf-vm. And i installed rebar3 with ./rebar3 local install. While trying to setup rebar3 it gives me following error:

image

But i have erl:

image
image

kvakvs commented

See that Erlang is visible for your user, not just shell. That's in .profile and you need to log out.

meppu commented

Looks like it is fixed when i add these to the .profile:

. "$HOME/.asdf/asdf.sh"
. "$HOME/.asdf/completions/asdf.bash"

I don't know if this is the Right Way™ but it works. Thanks for the info!