{"action":"created","issue":{"url":"https://api.github.com/repos/djberg96/pr-zlib/issues/5","labels_url":"https://api.github.com/repos/djberg96/pr-zlib/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/djberg96/pr-zlib/issues/5/comments","events_url":"https://api.github.com/repos/djberg96/pr-zlib/issues/5/events","html_url":"https://github.com/djberg96/pr-zlib/issues/5","id":117475846,"number":5,"title":"Rails 3.0.7 Ruby 1.9.2 - TypeError: allocator undefined for Zlib::ZStream","user":{"login":"springbok","id":37708,"avatar_url":"https://avatars.githubusercontent.com/u/37708?v=3","gravatar_id":"","url":"https://api.github.com/users/springbok","html_url":"https://github.com/springbok","followers_url":"https://api.github.com/users/springbok/followers","following_url":"https://api.github.com/users/springbok/following{/other_user}","gists_url":"https://api.github.com/users/springbok/gists{/gist_id}","starred_url":"https://api.github.com/users/springbok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/springbok/subscriptions","organizations_url":"https://api.github.com/users/springbok/orgs","repos_url":"https://api.github.com/users/springbok/repos","events_url":"https://api.github.com/users/springbok/events{/privacy}","received_events_url":"https://api.github.com/users/springbok/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/djberg96/pr-zlib/labels/Bug","name":"Bug","color":"ff0000"}],"state":"open","locked":false,"assignee":{"login":"phasis68","id":56956,"avatar_url":"https://avatars.githubusercontent.com/u/56956?v=3","gravatar_id":"","url":"https://api.github.com/users/phasis68","html_url":"https://github.com/phasis68","followers_url":"https://api.github.com/users/phasis68/followers","following_url":"https://api.github.com/users/phasis68/following{/other_user}","gists_url":"https://api.github.com/users/phasis68/gists{/gist_id}","starred_url":"https://api.github.com/users/phasis68/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phasis68/subscriptions","organizations_url":"https://api.github.com/users/phasis68/orgs","repos_url":"https://api.github.com/users/phasis68/repos","events_url":"https://api.github.com/users/phasis68/events{/privacy}","received_events_url":"https://api.github.com/users/phasis68/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-11-17T23:30:46Z","updated_at":"2015-12-01T21:49:39Z","closed_at":null,"body":"Hi,\r\n\r\nI'm trying to use pr-zlib in my Rails app but I'm getting the following error:\r\n\r\nTypeError: allocator undefined for Zlib::ZStream\r\n\tfrom /usr/jobbeat/bundler/ruby/1.9.1/gems/pr-zlib-1.0.2/lib/pr/zlib.rb:635:in `new'\r\n\tfrom /usr/jobbeat/bundler/ruby/1.9.1/gems/pr-zlib-1.0.2/lib/pr/zlib.rb:635:in `initialize'\r\n\tfrom /var/www/rails/jobbeat/lib/jobbeat/compressed_document.rb:14:in `new'\r\n\tfrom /var/www/rails/jobbeat/lib/jobbeat/compressed_document.rb:14:in `uncompress_document'\r\n\tfrom /var/www/rails/jobbeat/app/models/document.rb:160:in `document_contents'\r\n\tfrom (irb):33\r\n\tfrom /usr/jobbeat/bundler/ruby/1.9.1/gems/railties-3.0.7/lib/rails/commands/console.rb:44:in `start'\r\n\tfrom /usr/jobbeat/bundler/ruby/1.9.1/gems/railties-3.0.7/lib/rails/commands/console.rb:8:in `start'\r\n\tfrom /usr/jobbeat/bundler/ruby/1.9.1/gems/railties-3.0.7/lib/rails/commands.rb:23:in `<top (required)>'\r\n\tfrom script/rails:6:in `require'\r\n\tfrom script/rails:6:in `<main>'\r\n\r\nI get this in irb after doing the following:\r\nrequire 'pr/zlib'\r\nZlib::Inflate.new\r\n\r\nI've got v1.0.2 install via my gem file."},"comment":{"url":"https://api.github.com/repos/djberg96/pr-zlib/issues/comments/161106429","html_url":"https://github.com/djberg96/pr-zlib/issues/5#issuecomment-161106429","issue_url":"https://api.github.com/repos/djberg96/pr-zlib/issues/5","id":161106429,"user":{"login":"chrisseaton","id":341094,"avatar_url":"https://avatars.githubusercontent.com/u/341094?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisseaton","html_url":"https://github.com/chrisseaton","followers_url":"https://api.github.com/users/chrisseaton/followers","following_url":"https://api.github.com/users/chrisseaton/following{/other_user}","gists_url":"https://api.github.com/users/chrisseaton/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisseaton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisseaton/subscriptions","organizations_url":"https://api.github.com/users/chrisseaton/orgs","repos_url":"https://api.github.com/users/chrisseaton/repos","events_url":"https://api.github.com/users/chrisseaton/events{/privacy}","received_events_url":"https://api.github.com/users/chrisseaton/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T21:49:39Z","updated_at":"2015-12-01T21:49:39Z","body":"stdlib zlib is loaded by ActiveSupport, so I guess also by anything using Rails."}}