How to fix “make: g++: Command not found”

If you encounter en error:

make: g++: Command not found
make: *** [kb.o] Error 127

while trying to update your Ruby gems on Centos, it means that you don’t have C++ compiler installed. Here’s how to fix it:

yum install gcc-c++


Leave a Reply

Your email address will not be published. Required fields are marked *