# Logstash plugin development

**URL:** https://discuss.elastic.co/t/logstash-plugin-development/25476
**Category:** Logstash
**Created:** [July 13, 2015, 7:26pm UTC](https://discuss.elastic.co/t/logstash-plugin-development/25476 "2015-07-13T19:26:15Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![karthikbox](https://avatars.discourse-cdn.com/v4/letter/k/0ea827/32.png) [@karthikbox](https://discuss.elastic.co/u/karthikbox)
#### Post date: [July 13, 2015, 7:26pm UTC](https://discuss.elastic.co/t/logstash-plugin-development/25476/1 "2015-07-13T19:26:15Z")

</div>

Hi all,

I'm trying to develop a filter plugin for logstash-1.5.  
I've a cloned a community plugin repo(elapsed) from github.  
Then i execute " **bundle install**" to install dependencies, at which point i get an error message "**Could not find gem 'logstash-devutils (\>= 0) ruby' in any of the gem sources listed in your Gemfile or available on this machine.**"  
How to get around this? Any help would be appreciated.

---

<div class="post-metadata">

### Author: ![jrgns](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jrgns/32/640_2.png) [@jrgns](https://discuss.elastic.co/u/jrgns)
#### Post date: [July 14, 2015, 7:29am UTC](https://discuss.elastic.co/t/logstash-plugin-development/25476/2 "2015-07-14T07:29:59Z")

</div>

Hey

Are you sure you're running JRuby? The last time I had this issue I was inadvertantly using MRI instead of JRuby.

J

---

<div class="post-metadata">

### Author: ![karthikbox](https://avatars.discourse-cdn.com/v4/letter/k/0ea827/32.png) [@karthikbox](https://discuss.elastic.co/u/karthikbox)
#### Post date: [July 15, 2015, 5:14pm UTC](https://discuss.elastic.co/t/logstash-plugin-development/25476/3 "2015-07-15T17:14:48Z")

</div>

Thanks. I double checked and i wasnt using JRuby. Solved.

---

<div class="post-metadata">

### Author: ![L8apex32](https://avatars.discourse-cdn.com/v4/letter/l/858c86/32.png) [@L8apex32](https://discuss.elastic.co/u/L8apex32)
#### Post date: [April 26, 2016, 8:03pm UTC](https://discuss.elastic.co/t/logstash-plugin-development/25476/4 "2016-04-26T20:03:47Z")

</div>

I may be having the same problem. I took an existing filter, renamed it and all its contents, and am trying "bundle install'. This fails with no useful message.

bundle list says "Could not find gem 'logstash-devutils (\>= 0) ruby' in the gems available on this machine."

I have downloaded that gem from [rubygems.org](http://rubygems.org), its called logstash-devutils-0.0.19-java.gem.

Installing that gem gives:  
ERROR: Error installing logstash-devutils-0.0.19-java.gem:  
logstash-devutils requires rspec (~\> 3.1.0, runtime)

Installing that gem works, here is "gem list":  
[root@system software]# gem list

\*\*\* LOCAL GEMS \*\*\*

bundler (1.5.2)  
diff-lcs (1.2.5)  
net-http-persistent (2.9.4)  
rspec (3.4.0)  
rspec-core (3.4.4)  
rspec-expectations (3.4.0)  
rspec-mocks (3.4.1)  
rspec-support (3.4.1)  
thor (0.18.1)

It seems that bundle is missing rspec, but "gem list" shows it installed.

I'm new go Ruby so any help would be great.

---

<div class="post-metadata">

### Author: ![L8apex32](https://avatars.discourse-cdn.com/v4/letter/l/858c86/32.png) [@L8apex32](https://discuss.elastic.co/u/L8apex32)
#### Post date: [April 26, 2016, 8:05pm UTC](https://discuss.elastic.co/t/logstash-plugin-development/25476/5 "2016-04-26T20:05:28Z")

</div>

Also, I don't know what JRuby is - I didn't skip that part, just don't understand.

---

<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: [July 6, 2017, 5:00am UTC](https://discuss.elastic.co/t/logstash-plugin-development/25476/6 "2017-07-06T05:00:27Z")

</div>


