I recently faced with error when reinstalled ruby and run bundle
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
...
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.