I am new to elixir on emacs. What does the elixir-mode-iex do? Is it similar to having a REPL? I have created a elixir file and when I run elixir-mode-iex from it, I get the following error:
/usr/local/Cellar/elixir/1.0.2/bin/elixir: line 100: exec: erl: not found
Process IEX exited abnormally with code 127
In my Emacs configuration, I have set:
Elixir iex Command value to /usr/local/bin/iex
Elixir Compiler Command: /usr/local/bin/elixirc
Elixir Mode Command: /usr/local/bin/elixir
All of the above three configurations are in my Path. I installed elixir using homebrew on OS Yosemite
Emacs's exec-path
and your PATH
are likely not in sync. Installing exec-path-from-shell should solve your problem.
What does the elixir-mode-iex do?
Have a look https://stackoverflow.com/a/27375432/1000458
If you have any other questions to the elixir-mode or elixir and emacs, you can find me on the #elixir-lang IRC channel on Freenode. Or just open an issue on https://github.com/elixir-lang/emacs-elixir or https://github.com/tonini/alchemist.el
Cheers
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With