What do I need to install mysql gem on Mac OS X ? I\'m getting error \"failed to build native extensions\".
I came across this issue while setting up MySQL gem on MacOs Mojave .This worked for me
1 Ensure Xcode command line tools are installed.
xcode-select --install
This link pointed to right direction. Can't compile C program on a Mac after upgrade to Mojave