Hi,
I'm developing a new plugin that requires faraday (~> 0.9.0)
.
When I try to install the plugins' gem I get conflict error:
ERROR: Installation Aborted, message: Bundler could not find compatible versions for gem "faraday":
In snapshot (Gemfile.lock):
faraday (= 0.9.2)
In Gemfile:
octokit (= 3.8.0) java depends on
sawyer (>= 0.5.3, ~> 0.6.0) java depends on
faraday (< 0.10, ~> 0.8) java
logstash-input-twitter (>= 0) java depends on
twitter (= 5.15.0) java depends on
faraday (~> 0.9.0) java
logstash-core (>= 0) java depends on
elasticsearch (>= 5.0.4, ~> 5.0) java depends on
elasticsearch-transport (= 5.0.4) java depends on
faraday (>= 0) java
logstash-output-pubsub (= 0.2.0) java depends on
google-cloud-pubsub (< 0.28.1, ~> 0.27.0) java depends on
google-cloud-core (~> 1.0) java depends on
google-cloud-env (~> 1.0) java depends on
faraday (~> 0.11) java
As you can see above the sawyer dependency is ">=0.5.3" but when I look on:
/logstash-6.0.0/vendor/bundle/jruby/2.3.0/specifications/octokit-3.8.0.gemspec
I see it has freeze on sawyer:
s.add_dependency(%q<sawyer>.freeze, [">= 0.5.3", "~> 0.6.0"])
In more recent versions of sawyer, the problematic faraday dependency is resolved, but because of the freeze I'm getting conflict error.
Any way to workaround this?
BTW - I'm using logstash-6.0.0
Thanks for the assistance,
Nir