-
Notifications
You must be signed in to change notification settings - Fork 617
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
Invalid version of rubyntlm #600
Comments
Having this same problem with 2.6.0 |
I came up with this issue as well. The problem is actually inside of httpi - I believe it to be caused by an incompatibility between the rubyntlm and the ntlm-http gems. Both of them define The way I 'solved' the problem was by creating a Gemfile, and requiring both 'savon' and 'rubyntlm' (version 0.4.0). 'rubyntlm' is a development dependency of 'httpi', but it feels like it should be a runtime dependency, given that it explicitly fails to load if the correct version is not being used. I believe that the authors of 'savon' and 'httpi' are the same, so hopefully they can throw some clarity here. If you happen to have a project that need both of these gems (ntlm-http is a dependency of mechanize, for instnace), I'm not sure how to solve the problem. Hope that helps. |
Fortunately 2.5.1 works fine for me, but your workaround seems to work as well. |
+1 |
Same here. As soon as I require 'savon', '~> 2.5.1' everything works fine. 2.6.0 won't work - but it will work when adding to the Gemfile: gem 'rubyntlm', '~> 0.3.2' |
Sorry for the delay in responding, everyone, but this was caused by some well-meaning shenanigans in |
I'm in a situation where I'm using mechanize and Mandrill - they have colliding versioning. Anyone else found a solution for this? |
I'm trying to use savon 2.9.0 with ruby 2.2.0. |
I get the same error with 2.10.0 so I change to 2.5.1 and works fine |
I also just had this error. Re-open? |
I'm also having this error |
this error still occurs |
This error still occurs because it exists to warn you that the dependencies you have loaded will not work together. It makes me sad that this is an error, but given where HTTPI is today, it was the best implementation. The fix for this is to ensure that you ONLY are using rubyntlm v0.3.2 or greater, regardless of whether or not you use rubyntlm. Perhaps one of your dependencies added |
I tried installing savon with
gem install savon
, but I keep getting this error when requiring the gem:I tried installing several versions of rubyntlm, but I keep getting the same error:
This problem is present on savon 2.6.0, but not in 2.5.1.
Any ideas?
I'm using ruby 2.1.2 with rvm on OSX.
The text was updated successfully, but these errors were encountered: