Logstash-output-mongodb depends on older version - elasticsearch

everytime i try to install the mongo output plugin, it always show this error: Plugin version conflict, aborting
ERROR: Installation Aborted, message: Bundler could not find compatible versions for gem "mongo":
In Gemfile:
logstash-output-mongodb (= 3.1.3) java depends on
mongo (~> 2.0.6) java
Could not find gem 'mongo (~> 2.0.6) java', which is required by gem 'logstash-output-mongodb (= 3.1.3) java', in any of the sources.
i tried to update the bundle but it keeps using the mongo 2.0.6.... what can i do please

actually the problem solved just by uninstall the logstash and install it again

Related

I am not able to install any new gem in my rails application.Its a issue related to bundler

Bundler could not find compatible versions for gem "bundler":
In Gemfile:
rails (~> 5.2) was resolved to 5.2.3, which depends on
bundler (>= 1.3.0)
solargraph was resolved to 0.38.0, which depends on
bundler (>= 1.17.2)
Current Bundler version:
bundler (1.16.2)
This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running `gem install bundler`?
Could not find gem 'bundler (>= 1.17.2)', which is required by gem 'rails (~> 5.2)', in any of the sources.
ERROR: 6
I am using ruby version 2.5.1 on my device and rvm is not installed earlier the version of ruby 3.0.2 but our project is of version 2.5.1. But while installing any new gem and hitting bundle install it shows this particular error
sudo docker-compose run --rm --no-deps web bundle install

Vagrant plugin can't find vagrant-berkshelf

I'm having a great deal of difficulty with vagrant-berkshelf. Currently I get an error stating it's not found, so I installed the chef-dk as a system package as instructed.
vagrant still can't find the vagrant-berkshelf plugin. I then tried:
vagrant plugin install vagrant-berkshelf --plugin-version 2.0.1
from which I got a failure as many dependcies weren't installed:
/usr/lib/ruby/1.9.1/rubygems/dependency_installer.rb:153:in `gather_dependencies': Unable to resolve dependencies: vagrant-berkshelf requires c
elluloid (~> 0.16.0.pre), celluloid-io (~> 0.16.0.pre); berkshelf requires addressable (~> 2.3.4),...
I installed these and gem list confirms it.
I still get the error. Can somebody explain how paths work in vagrant and where it's looking for what, and why it didn't find the plugin after I installed chef-dk. This isn't multiple questions; the path question should solve the others, unless I'm very much mistaken.
And also:
$ vagrant plugin list
vagrant-berkshelf (4.0.1)
vagrant-cachier (1.1.0)
vagrant-omnibus (1.4.1)
The current version of vagrant-berkshelf is 4.0.1. Trying to install the very old 2.0.1 version is probably just broken due to shifting dependency versions. I would recommend installing the current version instead.
The error message states:
Unable to resolve dependencies: vagrant-berkshelf requires celluloid (~> 0.16.0.pre), celluloid-io (~> 0.16.0.pre);
vagrant-berkshelf is installed but you're missing some of it's dependencies.
These gems can be installed with:
gem install celluloid celluloid-io

Spree - i18n gem issue

I got a problem with a new version of spree gem (branch: '2-3-stable'). When i try to install it, I receive this error.
my_store$ rails server
The git source https://github.com/spree/spree_gateway.git is not yet checked out. Please run `bundle install` before trying to start your application
my_store$ bundle install
Bundler could not find compatible versions for gem "i18n":
In Gemfile:
spree (= 2.3.1) ruby depends on
spree_core (= 2.3.1) ruby depends on
i18n (= 0.6.9) ruby
rails (= 4.1.2) ruby depends on
activesupport (= 4.1.2) ruby depends on
i18n (0.6.11)
But according to gem list i got both of this gems installed i18n (0.6.11, 0.6.9). Can someone help me to fix this problem
Copy from comment section:
Sorry. i figured it out myself simple execution of bundle update and then bundle install command fixed my issue

Redmine - incompatible versions for Bundler

I'm trying to install the 2.3.2 version of Redmine being offline. When I launch the command:
bundle install --without postgresql --local
I get this error:
Bundler could not find compatible versions for gem 'ruby-openid':
In Gemfile:
rack-openid (>= 0) ruby depends on
ruby-openid (>= 2.1.8) ruby
ruby-openid (2.1.4)
I understand the problem but how do I solve it?
Well, you need to install a version newer than 2.1.8 of ruby-openid as only these versions are supported by the rack-openid gem which is required by Redmine.
You could download the current version of the gem (2.2.3) from rubygems.org and transfer that file to your server. The you can run
gem install ruby-openid-2.2.3.gem
to install the gem.
If you don't need OpenID authentication, you can exclude it:
bundle install --without postgresql openid --local

Incompatible version for gem "activesupport" while installing "threetaps-client" gem

I'm fairly new to rails and I encountered this gem conflict, while running bundle install, between ActiveSupport and threetaps-client (which I need to use for my project).
I tried removing the Gemfile.lock file and running bundle install again but it gave me the same error message again. I also tried running bundle update which also gave the same result :(
Bundler could not find compatible versions for gem "activesupport":
In snapshot (Gemfile.lock):
activesupport (3.2.13)
In Gemfile:
threetaps-client (>= 0) ruby depends on
activesupport (~> 3.0.0) ruby
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
The issue here is that you are using Rails 3.2 (and thus, activesupport 3.2). However, threetaps-client is version locked to rails/activesupport 3.0.x. The easiest solution to this would be to downgrade Rails to 3.0 in your Gemfile with:
gem "rails", "~> 3.0"
And then remove the Gemfile.lock and bundle install again. You should be good to go after that.
EDIT
I was able to get the gem to support activesupport 3.2 (I think). The tests do not pass on this branch, but they did not pass on master either. I assume this probably has to do with credentials or something. Update your Gemfile to use this repo for threetaps-client
gem "threetaps-client", git: "git#github.com:ehowe/3taps-Ruby-Client"
Insert required "your mileage may vary" warning here.

Resources