Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible with httpclient 2.2.0.1 #7

Closed
simondean opened this issue Apr 25, 2011 · 1 comment
Closed

Incompatible with httpclient 2.2.0.1 #7

simondean opened this issue Apr 25, 2011 · 1 comment

Comments

@simondean
Copy link

May also be incompatible with versions 2.2.0.0 and 2.2.0.2. Recommend dropping back to httpclient 2.1.7.2 to get knife-windows working.

Using knife-windows with 2.2.0.1 throws an exception about the content method not existing on the string class. This isn't really an issue caused by knife-windows. The issue is in the winrm-1.0.0rc4 gem in the file lib/winrm/http/transport.rb:22. winrm is calling resp.body.content and the content method doesn't seem to exist in the latest versions of httpclient

I can see that schisamo (the author of this gem) has already raised this as an issue for the winrm gem: https://github.com/zenchild/WinRM/pull/8

@schisamo
Copy link
Contributor

This should be fixed with version 0.5.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants