title: Elixir on Emacs: exec erl not found
body: <p>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:</p>
  
  <pre><code>/usr/local/Cellar/elixir/1.0.2/bin/elixir: line 100: exec: erl: not found
  
  Process IEX exited abnormally with code 127 
  </code></pre>
  
  <p>In my Emacs configuration, I have set:</p>
  
  <pre><code>Elixir iex Command value to  /usr/local/bin/iex 
  Elixir Compiler Command: /usr/local/bin/elixirc
  Elixir Mode Command: /usr/local/bin/elixir
  </code></pre>
  
  <p>All of the above three configurations are in my Path. I installed elixir using homebrew on OS Yosemite</p>