{"action":"created","issue":{"url":"https://api.github.com/repos/chef/chef/issues/3708","labels_url":"https://api.github.com/repos/chef/chef/issues/3708/labels{/name}","comments_url":"https://api.github.com/repos/chef/chef/issues/3708/comments","events_url":"https://api.github.com/repos/chef/chef/issues/3708/events","html_url":"https://github.com/chef/chef/issues/3708","id":97087559,"number":3708,"title":"OS X 10.11 - Chef Ruby reports wrong information about the host's OS/Kernel on","user":{"login":"natewalck","id":867868,"avatar_url":"https://avatars.githubusercontent.com/u/867868?v=3","gravatar_id":"","url":"https://api.github.com/users/natewalck","html_url":"https://github.com/natewalck","followers_url":"https://api.github.com/users/natewalck/followers","following_url":"https://api.github.com/users/natewalck/following{/other_user}","gists_url":"https://api.github.com/users/natewalck/gists{/gist_id}","starred_url":"https://api.github.com/users/natewalck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natewalck/subscriptions","organizations_url":"https://api.github.com/users/natewalck/orgs","repos_url":"https://api.github.com/users/natewalck/repos","events_url":"https://api.github.com/users/natewalck/events{/privacy}","received_events_url":"https://api.github.com/users/natewalck/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-24T16:26:07Z","updated_at":"2015-07-24T17:07:32Z","closed_at":null,"body":"### Version:\r\nChef: 12.3.0\r\n\r\n### Environment:\r\nOS X 10.11 15A226f\r\n\r\n### Scenario:\r\nGet system version from ruby so we can gate functionality to specific versions of OS X\r\n\r\n\r\n\r\n### Steps to Reproduce:\r\n```\r\n/opt/chef/embedded/bin/chef-shell\r\nchef > RbConfig::CONFIG['host_os']\r\n => \"darwin12.5.0\"\r\nchef >\r\n```\r\n\r\n### Expected Result:\r\nUsing System Ruby, it  looks like this:\r\n```\r\n/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/irb\r\nirb(main):001:0> RbConfig::CONFIG['host_os']\r\n=> \"darwin15\"\r\nirb(main):002:0>\r\n```\r\n### Actual Result:\r\nIt shows a version of \"darwin12.5.0\" which is incorrect."},"comment":{"url":"https://api.github.com/repos/chef/chef/issues/comments/124582038","html_url":"https://github.com/chef/chef/issues/3708#issuecomment-124582038","issue_url":"https://api.github.com/repos/chef/chef/issues/3708","id":124582038,"user":{"login":"natewalck","id":867868,"avatar_url":"https://avatars.githubusercontent.com/u/867868?v=3","gravatar_id":"","url":"https://api.github.com/users/natewalck","html_url":"https://github.com/natewalck","followers_url":"https://api.github.com/users/natewalck/followers","following_url":"https://api.github.com/users/natewalck/following{/other_user}","gists_url":"https://api.github.com/users/natewalck/gists{/gist_id}","starred_url":"https://api.github.com/users/natewalck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natewalck/subscriptions","organizations_url":"https://api.github.com/users/natewalck/orgs","repos_url":"https://api.github.com/users/natewalck/repos","events_url":"https://api.github.com/users/natewalck/events{/privacy}","received_events_url":"https://api.github.com/users/natewalck/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T17:07:32Z","updated_at":"2015-07-24T17:07:32Z","body":"It occured to me that Chef ruby was most likely compiled on a 10.8.5 machine (12.5 Darwin kernel).\r\n\r\nThis isn't actually what the machine is running, it is what it was compiled on."}}