{"issue":{"title":"Added SnowLeopard / BridgeSupport test for \"macgem install ...\"","user":{"login":"bultacorick","id":76376,"url":"https://api.github.com/users/bultacorick","gravatar_id":"af2ce6689213fdb78913a9662b18da6b","avatar_url":"https://secure.gravatar.com/avatar/af2ce6689213fdb78913a9662b18da6b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"created_at":"2011-12-24T03:10:21Z","milestone":null,"labels":[],"state":"open","updated_at":"2011-12-28T00:25:50Z","id":2651554,"pull_request":{"patch_url":"https://github.com/HotCocoa/hotcocoa/pull/45.patch","html_url":"https://github.com/HotCocoa/hotcocoa/pull/45","diff_url":"https://github.com/HotCocoa/hotcocoa/pull/45.diff"},"closed_at":null,"html_url":"https://github.com/HotCocoa/hotcocoa/issues/45","body":"This one's in for review.  I feel that the method of test, using the C Extensions technique from RubyGems, is valid.  I'm not so sure of the actual implementation however.\r\n\r\nIf you look at the ext/hotcocoa/extconfig.rb and ext/hotcocoa/noop_bridge_support_check.c files you'll see what I'm using.  \r\n\r\n - the system('test -d /System/Library/BridgeSupport') is the trigger for presence/absence check and related error message\r\n\r\n - the #include </System/Library/.../_BS_bool.h> is the trigger that actually causes the install to fail\r\n\r\nThe caveat here is that I only know what I see on my system and I've only been working with MacRuby and HotCocoa for about 1 week.\r\n\r\nFeel free to guide me here - any suggestions on the checkpoints are more than welcome.\r\n\r\nhappy holidays...\r\n\r\nRick\r\n","number":45,"url":"https://api.github.com/repos/HotCocoa/hotcocoa/issues/45","comments":10,"assignee":null},"comment":{"user":{"login":"bultacorick","id":76376,"url":"https://api.github.com/users/bultacorick","gravatar_id":"af2ce6689213fdb78913a9662b18da6b","avatar_url":"https://secure.gravatar.com/avatar/af2ce6689213fdb78913a9662b18da6b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"created_at":"2011-12-28T00:25:50Z","updated_at":"2011-12-28T00:25:50Z","id":3286944,"body":"I'll be interested in seeing what you find.\n\nHere are two data points on what I've done:\n\nOnce I decided to use my system as a test platform, I reloaded 10.6 from\ndist CDs on a cleaned partition and upgraded using the Apple official\npatches to bring the OS up to 10.6.8.  I then used MacPorts to build my\ndevelopment.\n\nI checked all three Preview's - the /System/Library/BridgeSupport is a\ncommon root for all three.\n\nRick\n\nOn Tue, Dec 27, 2011 at 3:40 AM, Mark Rada <\nreply@reply.github.com\n> wrote:\n\n> I'm going to sit on this until next week when I can get my hands on a\n> virgin Snow Leopard machine. If anything, I think checking the directory\n> will be replaced with checking for a specific file.\n>\n> I know the format of the XML files that bridge support changed\n> considerably, but I'm not sure if the location and/or naming scheme also\n> changed.\n>\n> ---\n> Reply to this email directly or view it on GitHub:\n> https://github.com/HotCocoa/hotcocoa/pull/45#issuecomment-3279997\n>","url":"https://api.github.com/repos/HotCocoa/hotcocoa/issues/comments/3286944"},"action":"created"}