Skip to content

Instantly share code, notes, and snippets.

@ryanjones
Created August 19, 2011 23:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanjones/1158311 to your computer and use it in GitHub Desktop.
Save ryanjones/1158311 to your computer and use it in GitHub Desktop.
restntlm error
C:\Users\Owner>irb
irb(main):001:0> require 'rest-client'
=> true
irb(main):002:0> r = RestClient::Resource.new 'www.google.ca'
=> www.google.ca
irb(main):003:0> r.get
Net::HTTP::Get
NoMethodError: undefined method `ntlm_auth' for Net::HTTP::Get:Class
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rest-client-1.6.3/lib/restclien
t/request.rb:113:in `net_http_request_class'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rest-client-1.6.3/lib/restclien
t/request.rb:66:in `execute'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rest-client-1.6.3/lib/restclien
t/request.rb:35:in `execute'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rest-client-1.6.3/lib/restclien
t/resource.rb:53:in `get'
from (irb):3
from C:/Ruby192/bin/irb:12:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment