RabbitMQ has recently started crashing for me. I suspect I updated something by accident. On MacOS 10.15.7, `brew list rabbitmq` finds various files in `/usr/local/homebrew/Cellar/rabbitmq/3.8.14`.
When I try to run `rabbitmq-server` or any `rabbitmqctl` command, such as `rabbitmqctl version`, it crashes with:
```
{"init terminating in do_boot",{load_failed,[supervisor,logger_backend,logger_simple_h,logger_config,gen_event,logger_server,kernel,file_io_server,file_server,filename,file,erl_parse,erl_lint,application_controller,error_logger,lists,application,application_master,code,error_handler,logger,logger_filters,heart,gen_server,gen,ets,proc_lib,erl_eval,code_server]}}
```
Uninstalling and reinstalling has not helped.
The error is similar to the one [described here](
https://groups.google.com/g/rabbitmq-users/c/O6nTPME65FA), where this was suggested:
> Some modules cannot be loaded. You very likely run a version of Erlang that's older than the oldest one supported by RabbitMQ
But according to [the docs](
https://www.rabbitmq.com/which-erlang.html), RabbitMQ `3.8.14` requires Erlang `22.3` to `23.x`, and `erl --version` prints `Erlang/OTP 23`.
See [the `erl_crash.dump`](
https://gist.github.com/nathanl/ae93369da2c1d3e2b05588dcfd725fee).
Any clues about what's wrong?