Whe using rmagick
Linux:
Need install imagemagick6
PKG_CONFIG_PATH='/usr/lib/imagemagick6/pkgconfig' gem install rmagick -v '2.13.4'
Mac:
brew install imagemagick@6
PKG_CONFIG_PATH="/usr/local/opt/imagemagick@6/lib/pkgconfig" gem install rmagick -v '2.13.4'
When using libv8
Mac:
brew install [email protected]
gem install libv8 -v '3.16.14.19' -- --with-system-v8
When using therubyracer
Mac:
gem install therubyracer -v '0.12.3' -- --with-system-v8 --with-v8-dir=/usr/local/Cellar/[email protected]/3.15.11.18_1
When using puma
Maybe if updated to puma 5 the problem will be solved
gem install puma -v '4.3.6' -- --with-cflags="-Wno-error=implicit-function-declaration"
When using pg
gem install pg -v '0.18.2' -- --with-cflags="-Wno-error=implicit-function-declaration"