Logstash plugin development problem

I'm trying to develop an input plugin for logstash.

i've used this tutorial

the problem that i've had when i tried to install "bundle" using "bundle install"

- this is the error message

Your Ruby engine is ruby, but your Gemfile specified jruby

- Gemfile:

source 'https://rubygems.org'

ruby '2.2.0', :engine => 'jruby', :engine_version => '2.3.1'

gemspec

- ruby -v :
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin16]

- jruby -v :
jruby 9.1.8.0 (2.3.1) 2017-03-06 90fc7ab Java HotSpot(TM) 64-Bit Server VM 25.92-b14 on 1.8.0_92-b14 +jit [darwin-x86_64]

What am I doing wrong here?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.