tenderlove/mechanize — Issue #178: [2.1] raising Net is not missing constant HTTPResponse
Author: rdpoor
Created: 2011-12-21 23:02:01+00:00
State: open

With 2.1 I get the following error. When I revert to 2.0.1, it goes away. (I know this is a weak bug report -- let me know if I can help isolate it in my config!)

ArgumentError: Net is not missing constant HTTPResponse!
from /sandbox/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:479:in `load_missing_constant'
from /sandbox/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:183:in `block in const_missing'
from /sandbox/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:181:in `each'
from /sandbox/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:181:in `const_missing'
from /sandbox/usr/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.3.2/lib/net/http/persistent/ssl_reuse.rb:66:in `connect'
from /sandbox/usr/lib/ruby/1.9.1/net/http.rb:637:in `do_start'
from /sandbox/usr/lib/ruby/1.9.1/net/http.rb:632:in `start'
from /sandbox/usr/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.3.2/lib/net/http/persistent.rb:582:in `reset'
from /sandbox/usr/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.3.2/lib/net/http/persistent.rb:397:in `connection_for'
from /sandbox/usr/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.3.2/lib/net/http/persistent.rb:616:in `request'
from /sandbox/usr/lib/ruby/gems/1.9.1/gems/mechanize-2.1/lib/mechanize/http/agent.rb:264:in `fetch'
from /sandbox/usr/lib/ruby/gems/1.9.1/gems/mechanize-2.1/lib/mechanize.rb:319:in `get'