Closed andyleclair closed 2 years ago
try to run M-x compile
mix test
. if it fails with the same error, then you need to figure out how to fix it. Have a look at exec-path
value, it might not be set properly. Also check https://github.com/purcell/exec-path-from-shell
I've got
exunit.el
installed in my emacs via DOOM and I'm having this issue every time I try to run the tests (or iex for that matter) in any buffer.This seems to me that
exunit.el
is not running in the context of the right shell (or maybe is being compiled without my shell env?) However, when I openeshell
and run commands likeelixir -v
,iex -S mix
, ormix test
everything works just fine. Running(exunit-project-root)
fromeshell
returns the right directory.I'm sorta new to emacs so please let me know if I'm doing something horribly wrong or if this isn't the right way to go about solving this issue. Thank you for the package!