Eric Hodel
Eric Hodel
Note, this is what [Net::HTTP uses](https://github.com/ruby/ruby/blob/trunk/lib/net/http/response.rb#L358) for [all zlib-based content encodings](https://github.com/ruby/ruby/blob/trunk/lib/net/http/response.rb#L256-L261)
I'm not using it but was inspired to look at the code due to a blog post I read that used this gem instead of using `Zlib::Inflate` directly. I struggled...
Depending upon server support, the `Range` header can do this. This retrieves the first 10 bytes: ``` ruby require 'mechanize' agent = Mechanize.new page = agent.get "http://localhost", [], nil, 'Range'...
The greater problem is designing a good API for this. `agent.get(uri).stream_body` would not work since by the time `stream_body` is called the body has been downloaded. Changing Mechanize#get to return...
I'll note that one of the rubocop failures is for cyclomatic complexity, I seem to recall that similar checks are disabled in other places in the library, would you prefer...
To build 32bit applications rubyc needs a 32bit toolchain. You can build rubyc using your 32bit toolchain then use your 32bit rubyc to build your 32bit app. Maybe in the...
I added some [basic build instructions](https://github.com/pmq20/ruby-packer#building-rubyc-yourself) to the README
I would be happy to merge a PR you build adding a "rubyc + Docker" section to the README of rubyc.
rubyc requires a compiler tool chain that can build ruby and its dependent libraries [now listed here](https://github.com/pmq20/ruby-packer#building-rubyc-yourself). The notable surprise may be that `openssl` seems to require `perl`. Maybe that's...
Can you run `xcode-select --install` then retry running rubyc? This seems to be a cross-project issue: https://github.com/rbenv/ruby-build/issues/1133#issuecomment-331498031