I was following elixir getting started where it says run:
iex> i 'hello'
so I ran:
iex(1)> i 'hello'
and got:
** (CompileError) iex:2: undefined function i/1
elixir version:
Erlang/OTP 18 [erts-7.3] [source] [64-bit] [smp:4:4] [async-threads:10] [kernel-poll:false] Interactive Elixir (1.1.0-dev)
The function IEx.Helpers.i/1, which the guide you linked to uses, was added in Elixir 1.2.0. You need to install Elixir 1.2.0 or later version to use it.
see http://elixir-lang.org/install.html#unix-and-unix-like, for installation guide.
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