archiloque/rest-client — Issue #113: Extending Net::HTTP to add streaming support causes problems
Author: tommireinikainen
Created: 2012-02-03 10:10:01+00:00
State: open

We came across some problems (possibly due to an older version of ruby) with rest-client extending Net::HTTP (net_http_ext.rb:46). While we're still not clear on what the actual problem with the extension is, what's frustrating is that the problematic module isn't even using rest-client for anything but because the gem is loaded with the Rails stack the extension is used instead of the (working) original Net::HTTP request function.

In general, I don't think it's a good practice to force users of your gem to use your overrides everywhere. How about making it possible to enable/disable the override by configuration?