Red Hat Bugzilla – Bug 977941
Cannot build simple program using Ruby binding without specifying path to arch dependent config.h
Last modified: 2013-07-15 21:36:22 EDT
This should work but it doesn't due to arch specific config.h, which is not accessible in default headers search path. See  for discussion of this issue.
$ cat > rt.c
int main(int argc, char **argv)
$ gcc rt.c
In file included from /usr/include/ruby.h:33:0,
/usr/include/ruby/ruby.h:24:25: fatal error: ruby/config.h: No such file or directory
ruby-126.96.36.199-11.fc19 has been submitted as an update for Fedora 19.
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ruby-188.8.131.52-11.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
ruby-184.108.40.206-12.fc19 has been submitted as an update for Fedora 19.
ruby-220.127.116.11-14.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.