I was getting the following error while installing puma gem
$ gem install puma Fetching: puma-2.11.2.gem (100%) Building native extensions. This coul
Not my answer but this helped me install puma on macos (big sur) since there were warnings when building puma.
The command that I used is this:
gem install puma -- --with-cflags="-Wno-error=implicit-function-declaration"