Install gcc in centos centos:6.5 final Type rake gcc:compile[4.9.1,your/path] FAQ A:can't find "GLIBCXX_3.4.20" Q: see this link, or add /usr/local/lib64 in your LD_LIBRARY_PATH variable.