{"action":"created","issue":{"url":"https://api.github.com/repos/jcupitt/gir_ffi-vips/issues/1","labels_url":"https://api.github.com/repos/jcupitt/gir_ffi-vips/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/jcupitt/gir_ffi-vips/issues/1/comments","events_url":"https://api.github.com/repos/jcupitt/gir_ffi-vips/issues/1/events","html_url":"https://github.com/jcupitt/gir_ffi-vips/issues/1","id":106494118,"number":1,"title":"Clean install of vips8 and gir_ffi-vips crashes on first Vips call","user":{"login":"PaulHowson","id":11267299,"avatar_url":"https://avatars.githubusercontent.com/u/11267299?v=3","gravatar_id":"","url":"https://api.github.com/users/PaulHowson","html_url":"https://github.com/PaulHowson","followers_url":"https://api.github.com/users/PaulHowson/followers","following_url":"https://api.github.com/users/PaulHowson/following{/other_user}","gists_url":"https://api.github.com/users/PaulHowson/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulHowson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulHowson/subscriptions","organizations_url":"https://api.github.com/users/PaulHowson/orgs","repos_url":"https://api.github.com/users/PaulHowson/repos","events_url":"https://api.github.com/users/PaulHowson/events{/privacy}","received_events_url":"https://api.github.com/users/PaulHowson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jcupitt/gir_ffi-vips/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-09-15T06:59:31Z","updated_at":"2015-10-26T10:31:13Z","closed_at":"2015-10-26T10:31:13Z","body":"Have been experiencing ongoing inability to use vips8 with Ruby since upgrading from vips7 and ruby-vips. See reports on this thread:\r\n\r\n    https://github.com/jcupitt/libvips/issues/322\r\n\r\nSo, did a clean install of vips8 and girl_ffi-vips on a second Macbook Pro which recently had clean install of Yosemite — i.e. nothing could be lurking around from old vips installs.\r\n\r\nInstalled Homebrew, vips (via Homebrew), the gir_ffi-vips gem, and its dependencies, etc, etc.\r\n\r\nRan this little \"write black\" test file:\r\n\r\n```ruby\r\nrequire 'vips8'\r\nim = Vips::Image.black(200, 200)\r\nim.write_to_file('test_image.png')\r\n```\r\n\r\nProduces this crash on the first vips call (Image.black):\r\n```\r\ntype_builder.rb:38: in `builder_for': undefined method `new' for nil:NilClass (NoMethodError)\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/gir_ffi-0.7.9/lib/gir_ffi/builders/type_builder.rb:33:in `build'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/gir_ffi-0.7.9/lib/gir_ffi/builder.rb:14:in `build_class'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/gir_ffi-0.7.9/lib/gir_ffi/builders/module_builder.rb:40:in `build_namespaced_class'\r\n```\r\n…rest of the stack trace omitted.\r\n\r\nSame thing happens if first call is `Vips::Image.new_from_file`. Reported this on other thread but no response.\r\n\r\nThis is a deal-stopper for vips and Ruby at present.\r\n\r\nPaul\r\n"},"comment":{"url":"https://api.github.com/repos/jcupitt/gir_ffi-vips/issues/comments/151094186","html_url":"https://github.com/jcupitt/gir_ffi-vips/issues/1#issuecomment-151094186","issue_url":"https://api.github.com/repos/jcupitt/gir_ffi-vips/issues/1","id":151094186,"user":{"login":"jcupitt","id":580843,"avatar_url":"https://avatars.githubusercontent.com/u/580843?v=3","gravatar_id":"","url":"https://api.github.com/users/jcupitt","html_url":"https://github.com/jcupitt","followers_url":"https://api.github.com/users/jcupitt/followers","following_url":"https://api.github.com/users/jcupitt/following{/other_user}","gists_url":"https://api.github.com/users/jcupitt/gists{/gist_id}","starred_url":"https://api.github.com/users/jcupitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcupitt/subscriptions","organizations_url":"https://api.github.com/users/jcupitt/orgs","repos_url":"https://api.github.com/users/jcupitt/repos","events_url":"https://api.github.com/users/jcupitt/events{/privacy}","received_events_url":"https://api.github.com/users/jcupitt/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T10:31:13Z","updated_at":"2015-10-26T10:31:13Z","body":"See this issue for more news, I'll close this one for now.\r\n\r\nhttps://github.com/jcupitt/libvips/issues/322"}}