I have installed Elixir in my mac through homebrew, but when I try to run iex, it report error:
iex
/usr/local/Cellar/elixir/1.1.1/bin/elixir: line 109: exec: erl: not found
it looks like you are simply missing Erlang, which Elixir requires.
You can find more information in the Elixir documentation to learn how to install Erlang on OS X: http://elixir-lang.org/install.html#installing-erlang
The Riak documentation is also helpful: https://docs.basho.com/riak/latest/ops/building/installing/erlang/#Mac-OS-X-Prerequisites
Good luck!
Erlang is missing but default installation through homebrew should install all required files(I installed the same way and all dependencies where automatically installed). It seems to me that mac is unable to find path to erlang, try reinstalling if it helps. Try typing erl
on console/terminal and see if it opens erlang
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.