Recently updated my gems while merging two branches together and got this error:
$ rake test --trace
rake aborted!
undefined method `__request__' for class `Net::HTTP'
/Users/******/.rvm/gems/ruby-1.9.3-p392@ftue_refactor/gems/fbgraph-1.10.0/lib/fbgraph/client.rb:75:in `<class:HTTP>'
I'm running ruby-1.9.3-p392 and rails 3.2.18 on Mac OSX 10.8.5. The code that's being pointed out is the following:
# :nodoc: undo the clusterfuck that rest-client has done
module Net
class HTTP
undef request
alias request __request__ # <=====
end
end
Did __request__ exist in an old version of Net::HTTP or a newer? or something? Any ideas would be greatly appreciated. Thanks!
Recently updated my gems while merging two branches together and got this error:
I'm running
ruby-1.9.3-p392
andrails 3.2.18
on Mac OSX 10.8.5. The code that's being pointed out is the following:Did
__request__
exist in an old version of Net::HTTP or a newer? or something? Any ideas would be greatly appreciated. Thanks!