Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

not working on ruby head #186

Closed
rkh opened this Issue · 2 comments

3 participants

@rkh
rkh commented

see http://travis-ci.org/#!/rkh/gh/jobs/1534857

/home/vagrant/.rvm/gems/ruby-head/gems/webmock-1.8.7/lib/webmock/http_lib_adapters/net_http.rb:27:in `remove_const': constant Net::HTTPSession not defined (NameError)
@phoet

i had the same issue in my build of ASIN http://travis-ci.org/#!/phoet/asin/jobs/1794039

i think that it gets renamed here: ruby/ruby@510bbe0

i did a workaround it in this build http://travis-ci.org/#!/phoet/asin/jobs/1794162

require "net/http"
unless Net.const_defined? :HTTPSession
  puts "monkeypatching Net::HTTPSession"
  class Net::HTTPSession < Net::HTTP::HTTPSession; end
end
@bblimke
Owner

Looks like they fixed it in ruby head http://bugs.ruby-lang.org/issues/6889

@bblimke bblimke closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.