Fixing Elixir issues after installing High Sierra

If you experience segfaults after updating to High Sierra, here is how to fix it.

If after installing High Sierra (the latest version of OSX for Macs) you notice issues with Elixir or Phoenix, the fix I’ve found is to update Erlang.

If you installed Erlang with homebrew, you can update by running;

brew upgrade erlang

I’d then suggest forcing a recompile of your project.

mix compile --force

For me the issue presented itself after update when I tried to start my Phoenix server.

It was crashing with the error segmentation fault mix phx.server.

After the Erlang upgrade and the recompile everything was good.

Thanks to Barry for spotting a typo in this article.

Recent posts View all

Ruby

How to install a beta version of Rails

This article will show you how using the gem command you can install beta versions of Rails

Ruby

The Welcome to Rails image is more inclusive

When playing with the new beta of Rails I noticed a more inclusive image