Posts tagged ‘elixir’

16 posts; newest first

Colouring the 'iex' prompt

elixir

If you’ve got separate dev, test and prod environments, it can help to use colour to tell you which one you’re logged into. Here’s how to colour the iex prompt appropriately.

» read more

failed to start child: :ranch_server_proxy

elixir ranch
** (Mix) Could not start application example_server: ExampleServer.Application.start(:normal, []) returned an error: shutdown: failed to start child: {:ranch_embedded_sup, :example_server}
    ** (EXIT) shutdown: failed to start child: :ranch_server_proxy
        ** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started

Did you start the ranch application? If you’re using rebar3 (Erlang) or mix (Elixir), it ought to start automatically as part of your application.

» read more