# Logstash plugin development problem

**URL:** https://discuss.elastic.co/t/logstash-plugin-development-problem/86240
**Category:** Logstash
**Created:** [May 18, 2017, 10:45am UTC](https://discuss.elastic.co/t/logstash-plugin-development-problem/86240 "2017-05-18T10:45:46Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![iheb](https://avatars.discourse-cdn.com/v4/letter/i/7bcc69/32.png) [@iheb](https://discuss.elastic.co/u/iheb)
#### Post date: [May 18, 2017, 10:45am UTC](https://discuss.elastic.co/t/logstash-plugin-development-problem/86240/1 "2017-05-18T10:45:46Z")

</div>

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

i've used this tutorial

> **[How to write a Logstash plugin - EagerElk](http://blog.eagerelk.com/how-to-write-a-logstash-plugin/)**
>
> A short guide on how to write a Logstash plugin.

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](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?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [June 15, 2017, 10:45am UTC](https://discuss.elastic.co/t/logstash-plugin-development-problem/86240/2 "2017-06-15T10:45:56Z")

</div>

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