# Problems with exec input plugin

**URL:** <https://discuss.elastic.co/t/problems-with-exec-input-plugin/49829>\
**Category:** Logstash\
**Created:** [May 11, 2016, 9:41pm UTC](https://discuss.elastic.co/t/problems-with-exec-input-plugin/49829 "2016-05-11T21:41:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fhasanaj](https://avatars.discourse-cdn.com/v4/letter/f/e68b1a/32.png) [@fhasanaj](https://discuss.elastic.co/u/fhasanaj)\
**Post date:** [May 11, 2016, 9:41pm UTC](https://discuss.elastic.co/t/problems-with-exec-input-plugin/49829/1 "2016-05-11T21:41:15Z")

</div>

Hello,

I'm having trouble with exec input plugin. The command I'm trying to execute is 'papertrail -json' which is a ruby gem I have installed locally, so when I run the command by itself in terminal I do get the desired json output. When I run logstash it throws this error: `block in verify\_gemfile\_dependencies\_are\_found!': You have requested (Bundler::GemNotFound) logstash-core = 2.3.2'. Any suggestions on how to overcome this?

Thank you!

---

<div class="post-metadata">

**Author:** ![hkhalidz](https://avatars.discourse-cdn.com/v4/letter/h/dc4da7/32.png) [@hkhalidz](https://discuss.elastic.co/u/hkhalidz)\
**Post date:** [May 11, 2016, 10:18pm UTC](https://discuss.elastic.co/t/problems-with-exec-input-plugin/49829/2 "2016-05-11T22:18:03Z")

</div>

Seems like your bundler is out of date. Try this:

> bundle update

---

<div class="post-metadata">

**Author:** ![Dan\_Kennedy](https://avatars.discourse-cdn.com/v4/letter/d/e0b2c6/32.png) [@Dan\_Kennedy](https://discuss.elastic.co/u/Dan_Kennedy)\
**Post date:** [February 26, 2017, 12:07am UTC](https://discuss.elastic.co/t/problems-with-exec-input-plugin/49829/3 "2017-02-26T00:07:22Z")

</div>

Thanks!

Were would I run that from? Is it in a typical location?

---

<div class="post-metadata">

**Author:** ![Dan\_Kennedy](https://avatars.discourse-cdn.com/v4/letter/d/e0b2c6/32.png) [@Dan\_Kennedy](https://discuss.elastic.co/u/Dan_Kennedy)\
**Post date:** [February 26, 2017, 12:13am UTC](https://discuss.elastic.co/t/problems-with-exec-input-plugin/49829/4 "2017-02-26T00:13:11Z")

</div>

Actually think I found it

/usr/share/logstash/vendor/bundle/jruby/1.9/bin/bundle

but when I run bundle update I get the below? how to I specify the path as the below is incorrect

bash: ./bundle: /home/vagrant/logstash/vendor/jruby/bin/jruby: bad interpreter: No such file or director

---

<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, 4:28am UTC](https://discuss.elastic.co/t/problems-with-exec-input-plugin/49829/5 "2017-07-06T04:28:17Z")

</div>

Closed on July 6, 2017, 4:28am UTC


