[ACCEPTED]-fail to bundle install puma 4.3.5 or gem puma with ruby-2.6.6 on macos-10.15.6-bundler

Accepted answer
Score: 218

It seems that the latest version of XCode 7 tools (12 Beta 3) installs a version of 6 Clang (the C compiler used by default on 5 MacOS) that throws an error on implicit 4 functions used on the native extension code 3 of Puma.

The workaround as pointed out here is 2 to tell Clang not to treat this behavior 1 as an error.

Try running:

bundle config build.puma --with-cflags="-Wno-error=implicit-function-declaration"
bundle install

and it should work.

More Related questions