After upgrade of Erlang version OTP 20 Elixir does not start

thiel@zeus:~$ cat /usr/lib/erlang/releases/RELEASES
[{release,"Erlang/OTP","20","9.0",
          [{kernel,"5.3","/usr/lib/erlang/lib/kernel-5.3"},
           {stdlib,"3.4","/usr/lib/erlang/lib/stdlib-3.4"},
           {sasl,"3.0.4","/usr/lib/erlang/lib/sasl-3.0.4"}],
          permanent}].

thiel@zeus:~$ elixir --version
Erlang/OTP 20 [RELEASE CANDIDATE 2] [erts-9.0] [source] [smp:2:2] [ds:2:2:10] [async-threads:10] [hipe] [kernel-poll:false]

{"init terminating in do_boot",{{badmatch,error},[{'Elixir.System',build,0,[{file,"lib/system.ex"},{line,177}]},{'Elixir.System',build_info,0,[{file,"lib/system.ex"},{line,169}]},{'Elixir.Kernel.CLI',parse_shared,2,[{file,"lib/kernel/cli.ex"},{line,153}]},{'Elixir.Kernel.CLI','shared_option?',3,[{file,"lib/kernel/cli.ex"},{line,113}]},{'Elixir.Kernel.CLI',main,1,[{file,"lib/kernel/cli.ex"},{line,14}]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
init terminating in do_boot ({{badmatch,error},[{Elixir.System,build,0,[{_},{_}]},{Elixir.System,build_info,0,[{_},{_}]},{Elixir.Kernel.CLI,parse_shared,2,[{_},{_}]},{Elixir.Kernel.CLI,shared_option?,

Crash dump is being written to: erl_crash.dump...done
thiel@zeus:~$ cd ga
thiel@zeus:~/ga$ ix test
ix: opdracht niet gevonden
thiel@zeus:~/ga$ mix test
** (Version.InvalidRequirementError) ~> 1.2
    (elixir) lib/version.ex:159: Version.match?/3
    (mix) lib/mix/local.ex:100: Mix.Local.check_elixir_version_in_ebin/1
    (elixir) lib/enum.ex:645: Enum."-each/2-lists^foreach/1-0-"/2
    (elixir) lib/enum.ex:645: Enum.each/2
    (mix) lib/mix/local.ex:50: Mix.Local.append_archives/0
    (mix) lib/mix/cli.ex:8: Mix.CLI.main/1

What must I do to get Elixir running again?

Thanks

You need to have elixir 1.4.4 afair, also it needs to be compiled with OTP 20.

Yes. You need elixir 1.4.4. And recompiled against otp 20.0-rc1.

Grab kerl and kiex tooling.

Many thanks for your advice. Now Elixir works again! Or better Make Elixir Great Again!

Thiel

Hi Mr. Meltzer,

Thanks for your quick reply. I did as yuo suggested and Elixir works again.

Thiel