Cannot isntall jekyll: ERROR: Failed to build gem native extension

My theory is if Ruby is installed before the command line compiler tools are configured, and then you configure the command line tools, the only way to get Ruby to know about the compiler tools is to uninstall Ruby and reinstall.