small medium large xlarge

28 May 2013, 06:33
Bryce Darling (6 posts)

I’m getting errors with this newly added section. Here is a dump from iex:

iex(1)> IEx.Options.print_help :colors
** (UndefinedFunctionError) undefined function: IEx.Options.print_help/1

Also getting an error with the .iex file contents:

hi:~ bryce$ iex
Erlang R16B (erts-5.10.1) [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

** (UndefinedFunctionError) undefined function: IEx.Options.set/2
29 May 2013, 05:19
Dave Thomas (366 posts)

Have you installed Elixir 0.9? This is a new feature.

29 May 2013, 12:30
Bryce Darling (6 posts)

hi:~ bryce$ elixir -v Elixir 0.9.0

Any ideas?

Thank you Dave, this book is really helpful so far and I am only on chapter 7. I really appreciate the work you’ve put in to it and I am loving learning the language!

31 May 2013, 14:44
Jim Menard (6 posts)

Same here. I’m runnning Erlang R16B as installed by MacPorts, and the latest 0.9.0 Elixir binary installation. If I have time, I’ll try installing Elixir by downloading and compiling the source and seeing if that makes a difference.

31 May 2013, 15:50
Jim Menard (6 posts)

Got it: I compiled 0.9.0 and IEx.Options is undefined. I compiled 0.9.1 and it works, so it looks like IEx.Options is new and was introduced in 0.9.1.