J3RN / inf-elixir

An Emacs plugin for interacting with an Elixir REPL
GNU General Public License v3.0
44 stars 10 forks source link

Send env variables to subprocess #18

Open notlfish opened 9 months ago

notlfish commented 9 months ago

I have the following situation:

From what I understand the problem is that iex isn't running with the proper PATH in its env. I'm using linux mint and emacs 29.1.50.

J3RN commented 9 months ago

Hi @notlfish , thanks for reporting this! Would you mind sharing the error message that you're receiving?

notlfish commented 9 months ago
~/.asdf/installs/elixir/1.15.5-otp-26/bin/elixir: 247: exec: erl: not found

Process Inf-Elixir exited abnormally with code 127

It actually shows the ~ expanded, and the elixir version is the one set globally by asdf. Calling inf-elixir or inf-elixir-project from a directory with a different asdf config shows a similar error message, with the elixir version locally selected in said directory.