I upgraded logstash to 2.1, With this gem conflicts are comming
[elk@hostnamelogstash]$ sudo bin/plugin install /home/elk/logstash-input-http_poller/logstash-input-http_poller-2.0.3.gem
[sudo] password for elk:
Validating /home/elk/logstash-input-http_poller/logstash-input-http_poller-2.0.3.gem
Installing logstash-input-http_poller
Plugin version conflict, aborting
ERROR: Installation Aborted, message: Bundler could not find compatible versions for gem "logstash-mixin-http_client":
In snapshot (Gemfile.lock):
logstash-mixin-http_client (= 2.0.3)
In Gemfile:
logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java
logstash-input-http_poller (= 2.0.3) java depends on
logstash-mixin-http_client (< 3.0.0, >= 2.1.0) java
Running bundle update
will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
I tried doing bundle upadte for "logstash-input-http_poller" plugin after update it gives me.
[elk@hostname logstash-input-http_poller]$ bundle update
Fetching gem metadata from https://rubygems.org/..........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies...........
Installing rake 10.5.0 (was 10.4.2)
Using cabin 0.7.2
Using clamp 0.6.5
Using coderay 1.1.0
Using concurrent-ruby 0.9.2
Using diff-lcs 1.2.5
Using ffi 1.9.10
Using filesize 0.0.4
Using flores 0.0.6
Using gem_publisher 1.5.0
Using gems 0.8.3
Using i18n 0.6.9
Using insist 1.0.0
Using jar-dependencies 0.3.1
Using jrjackson 0.3.8
Using jruby-openssl 0.9.13
Using kramdown 1.9.0
Using logstash-core-event 2.2.0.snapshot2
Using minitar 0.5.4
Using method_source 0.8.2
Using slop 3.6.0
Using rubyzip 1.1.7
Using stud 0.0.22
Using thread_safe 0.3.5
Using polyglot 0.3.5
Using rspec-support 3.1.2
Using bundler 1.11.2
Using spoon 0.0.4
Using manticore 0.5.2
Using treetop 1.4.15
Using rspec-core 3.1.7
Using rspec-expectations 3.1.2
Using rspec-mocks 3.1.3
Using pry 0.10.3
Using rspec 3.1.0
Using logstash-core 2.2.0.snapshot2
Using rspec-wait 0.0.8
Using logstash-codec-json 2.0.4
Using logstash-codec-plain 2.0.2
Using logstash-devutils 0.0.18
Using logstash-mixin-http_client 2.2.0
Using logstash-input-http_poller 2.0.3 from source at .
Bundle updated!
later i tried bundle update with logstash it returned me
[elk@hostname logstash]$ bundle update
Ignoring executable-hooks-1.3.2 because its extensions are not built. Try: gem pristine executable-hooks --version 1.3.2
Ignoring gem-wrappers-1.2.7 because its extensions are not built. Try: gem pristine gem-wrappers --version 1.2.7
Ignoring jruby-launcher-1.1.1-java because its extensions are not built. Try: gem pristine jruby-launcher --version 1.1.1
Ignoring executable-hooks-1.3.2 because its extensions are not built. Try: gem pristine executable-hooks --version 1.3.2
Ignoring gem-wrappers-1.2.7 because its extensions are not built. Try: gem pristine gem-wrappers --version 1.2.7
Ignoring jruby-launcher-1.1.1-java because its extensions are not built. Try: gem pristine jruby-launcher --version 1.1.1
Fetching gem metadata from https://rubygems.org/........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies....................................................
Bundler could not find compatible versions for gem "aws-sdk-resources":
In Gemfile:
logstash-input-sqs java was resolved to 2.0.1, which depends on
logstash-mixin-aws (>= 1.0.0) java was resolved to 2.0.1, which depends on
aws-sdk (~> 2.1.0) java was resolved to 2.1.0, which depends on
aws-sdk-resources (= 2.1.0) java
logstash-output-cloudwatch java was resolved to 2.0.2, which depends on
aws-sdk java was resolved to 2.1.0, which depends on
aws-sdk-resources (= 2.2.10) java
Bundler could not find compatible versions for gem "logstash":
In Gemfile:
logstash-input-sqs java was resolved to 0.1.0, which depends on
logstash (< 2.0.0, >= 1.4.0) java
Could not find gem 'logstash (< 2.0.0, >= 1.4.0) java', which is required by gem
'logstash-input-sqs java', in any of the sources.Bundler could not find
compatible versions for gem "logstash-core":
In Gemfile:
logstash-core (= 2.1.1) java
logstash-input-beats java was resolved to 2.1.2, which depends on
logstash-codec-multiline (~> 2.0.5) java was resolved to 2.0.6, which
depends on
logstash-core (< 3.0.0, >= 2.0.0) java
logstash-input-pipe java was resolved to 2.0.2, which depends on
logstash-core (< 3.0.0, >= 2.0.0.beta2) java
logstash-input-sqs java was resolved to 0.1.3, which depends on
logstash-core (< 2.0.0, >= 1.4.0) java
What next i can do to resolve this?