Skip to content

Instantly share code, notes, and snippets.

@rubiii
Created June 26, 2012 21:33
Show Gist options
  • Save rubiii/2999264 to your computer and use it in GitHub Desktop.
Save rubiii/2999264 to your computer and use it in GitHub Desktop.
NoMethodError: undefined method `chr' on nil:NilClass (for rbx 1.9)
require "zlib"
require "stringio"
xml = StringIO.new File.read("xml.gz")
gzip = Zlib::GzipReader.new(xml)
gzip.read
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment