You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ruby-ntlm doesn't work well with recent Mechanize library.
Recent Mechanize has native support for NTLM authentication mechanism, so I'll remove 'ntlm/mechanize' from ruby-ntlm.
If you do want to use ruby-ntlm with Mechanize, apply following patch to mechanize.
I've just required your gem, and got this while using on a Rake Task...
undefined method 'handle' for class 'Mechanize::Chain::AuthHeaders' /Users/iangallina/projetos/gtdi/vendor/bundle/gems/ruby-ntlm-0.0.1/lib/ntlm/mechanize.rb:9:in '<class:AuthHeaders>' /Users/iangallina/projetos/gtdi/vendor/bundle/gems/ruby-ntlm-0.0.1/lib/ntlm/mechanize.rb:6:in '<class:Chain>' /Users/iangallina/projetos/gtdi/vendor/bundle/gems/ruby-ntlm-0.0.1/lib/ntlm/mechanize.rb:5:in '<class:Mechanize>' /Users/iangallina/projetos/gtdi/vendor/bundle/gems/ruby-ntlm-0.0.1/lib/ntlm/mechanize.rb:4:in '<top (required)>' /Users/iangallina/projetos/gtdi/vendor/bundle/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:in 'require' /Users/iangallina/projetos/gtdi/vendor/bundle/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:in 'block in require' /Users/iangallina/projetos/gtdi/vendor/bundle/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:214:in 'load_dependency' /Users/iangallina/projetos/gtdi/vendor/bundle/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:in 'require' /Users/iangallina/projetos/gtdi/lib/tasks/processa_xml.rake:3:in '<top (required)>' /Users/iangallina/projetos/gtdi/vendor/bundle/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:223:in 'load' /Users/iangallina/projetos/gtdi/vendor/bundle/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:223:in 'block in load' /Users/iangallina/projetos/gtdi/vendor/bundle/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:214:in 'load_dependency' /Users/iangallina/projetos/gtdi/vendor/bundle/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:223:in 'load' /Users/iangallina/projetos/gtdi/vendor/bundle/gems/railties-4.0.1/lib/rails/engine.rb:641:in 'block in run_tasks_blocks' /Users/iangallina/projetos/gtdi/vendor/bundle/gems/railties-4.0.1/lib/rails/engine.rb:641:in 'each' /Users/iangallina/projetos/gtdi/vendor/bundle/gems/railties-4.0.1/lib/rails/engine.rb:641:in 'run_tasks_blocks' /Users/iangallina/projetos/gtdi/vendor/bundle/gems/railties-4.0.1/lib/rails/application.rb:244:in 'run_tasks_blocks' /Users/iangallina/projetos/gtdi/vendor/bundle/gems/railties-4.0.1/lib/rails/engine.rb:446:in 'load_tasks' /Users/iangallina/projetos/gtdi/vendor/bundle/gems/railties-4.0.1/lib/rails/railtie/configurable.rb:30:in 'method_missing' /Users/iangallina/projetos/gtdi/Rakefile:6:in '<top (required)>'
The text was updated successfully, but these errors were encountered: