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

前端 未结 2 482
小蘑菇
小蘑菇 2021-01-12 05:01

I\'m just trying to learn to write the example-output-plugin,follow this page:

http://www.elastic.co/guide/en/logstash/current/_how_to_write_a_logstash_output_plugin

2条回答
  •  有刺的猬
    2021-01-12 05:39

    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
    

提交回复
热议问题