Could not find gem 'logstash-devutils (>= 0) ruby' in any of the gem sources Could not find gem 'logstash-devutils (>= 0) ruby' in any of the gem sources ruby ruby

Could not find gem 'logstash-devutils (>= 0) ruby' in any of the gem sources


I just ran into the same problem. Solved it by just downloading the gem via the download link on its rubygems.org page and installing it with:

sudo gem install logstash-devutils-0.0.13-java.gem

That worked for me.

Update:Well, that will install the gem but it will not solve the real problem. I needed to switch to jruby for the tutorial to work. This can be done via the RVM:

sudo rvm install jruby


I tried installing the gem manually and got a different error:

There was a RuntimeError while loading logstash-devutils.gemspec: Only JRuby is supported from /Users/bnewton/.rvm/gems/ruby-2.2.1/bundler/gems/logstash-devutils-15c59bfaab59/logstash-devutils.gemspec:2:in `'

This leads me to believe the logstash-devutils requires jruby rather than the usual ruby. I use rvm, so it was a matter of installing and using jruby instead of regular ruby. So if you are using rvm, run:

rvm install jruby-1.7.19rvm use jruby-1.7.19gem install bundlerbundle install

This fixed it for me, and I was able to run bundle install without error.