Building Rails environment fails because of mysql2-0.4.1 gem error

First came up yesterday at https://circleci.com/gh/spreemo/chewy/11232, it got retried and failed every time since.

Today, it started affecting an entirely different branch at https://circleci.com/gh/spreemo/chewy/11285.