Answer the question
In order to leave comments, you need to log in
Erlang. Why does an error occur when installing a release using rebar?
Good day,% habrauser%!
I deal with the assembly and installation of releases and using rebar. Faced a problem - on the test computer, the command to run the assembled release
cd rel/dummy_0.1
bin/dummy console
{"init terminating in do_boot",{'cannot load',error_handler,get_files}}
Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
Erlang/OTP 17 [erts-6.3] [source-e2a0928] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]
Erlang/OTP 17 [erts-6.3] [source] [64-bit] [smp:2:2] [async-threads:10] [kernel-poll:false]
Answer the question
In order to leave comments, you need to log in
I found a problem, it was necessary to add application dependencies to the rebar config.
Unlike reltool, the new release managers relx and mad themselves resolve all dependencies (sorting the application launch sequence based on dependencies), and mad also makes small compact releases of 8MB in size. Works just like relx, via sasl/systools. Doing releases via reltool/rebar is a slow and deprecated way.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question