ruby/config.h required by ruby/ruby.h doesn't exist since ruby > 1.9.3.327-23.fc19.x86_64
This is under the path shown by "pkg-config --cflags ruby-1.9". Would you check it?
Oh you are right, it seems to be a bug in the package I was trying to build.