@sergey-safarov - that list of libs was taken from the output of `pkg-config --libs`. I do not recall for which version of lib ruby devel, but eventually that piece from Makefile is not used because we should rely on pkg-config.
Doesn't Fedora or CentOS have pkg-config for ruby devel lib?