{"action":"created","issue":{"url":"https://api.github.com/repos/flori/json/issues/255","labels_url":"https://api.github.com/repos/flori/json/issues/255/labels{/name}","comments_url":"https://api.github.com/repos/flori/json/issues/255/comments","events_url":"https://api.github.com/repos/flori/json/issues/255/events","html_url":"https://github.com/flori/json/issues/255","id":101199690,"number":255,"title":"JSON Build error : 'ruby/config.h' file not found","user":{"login":"deathmaster9","id":389798,"avatar_url":"https://avatars.githubusercontent.com/u/389798?v=3","gravatar_id":"","url":"https://api.github.com/users/deathmaster9","html_url":"https://github.com/deathmaster9","followers_url":"https://api.github.com/users/deathmaster9/followers","following_url":"https://api.github.com/users/deathmaster9/following{/other_user}","gists_url":"https://api.github.com/users/deathmaster9/gists{/gist_id}","starred_url":"https://api.github.com/users/deathmaster9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deathmaster9/subscriptions","organizations_url":"https://api.github.com/users/deathmaster9/orgs","repos_url":"https://api.github.com/users/deathmaster9/repos","events_url":"https://api.github.com/users/deathmaster9/events{/privacy}","received_events_url":"https://api.github.com/users/deathmaster9/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-15T18:54:24Z","updated_at":"2015-08-17T13:52:51Z","closed_at":null,"body":"While trying to install json through gem i get the following error message.\r\n\r\n--------------------------\r\n sudo gem install json     \r\nPassword:\r\nBuilding native extensions.  This could take a while...\r\n     ERROR:  Error installing json:\r\n\tERROR: Failed to build gem native extension.\r\n\r\n    /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb\r\ncreating Makefile\r\n\r\nmake \"DESTDIR=\"\r\ncompiling generator.c\r\nIn file included from generator.c:1:\r\nIn file included from ./../fbuffer/fbuffer.h:5:\r\nIn file included from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/ruby.h:33:\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/ruby/ruby.h:24:10: fatal error: 'ruby/config.h' file not found\r\n#include \"ruby/config.h\"\r\n         ^\r\n1 error generated.\r\nmake: *** [generator.o] Error 1\r\n\r\n\r\nGem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/json-1.8.3 for inspection.\r\nResults logged to /Library/Ruby/Gems/2.0.0/gems/json-1.8.3/ext/json/ext/generator/gem_make.out"},"comment":{"url":"https://api.github.com/repos/flori/json/issues/comments/131824322","html_url":"https://github.com/flori/json/issues/255#issuecomment-131824322","issue_url":"https://api.github.com/repos/flori/json/issues/255","id":131824322,"user":{"login":"flori","id":15918,"avatar_url":"https://avatars.githubusercontent.com/u/15918?v=3","gravatar_id":"","url":"https://api.github.com/users/flori","html_url":"https://github.com/flori","followers_url":"https://api.github.com/users/flori/followers","following_url":"https://api.github.com/users/flori/following{/other_user}","gists_url":"https://api.github.com/users/flori/gists{/gist_id}","starred_url":"https://api.github.com/users/flori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flori/subscriptions","organizations_url":"https://api.github.com/users/flori/orgs","repos_url":"https://api.github.com/users/flori/repos","events_url":"https://api.github.com/users/flori/events{/privacy}","received_events_url":"https://api.github.com/users/flori/received_events","type":"User","site_admin":false},"created_at":"2015-08-17T13:52:51Z","updated_at":"2015-08-17T13:52:51Z","body":"Are you missing the devel package for ruby?"}}