# Issues installing custom plugin on Logstash

**URL:** <https://discuss.elastic.co/t/issues-installing-custom-plugin-on-logstash/176462>\
**Category:** Logstash\
**Created:** [April 11, 2019, 5:10pm UTC](https://discuss.elastic.co/t/issues-installing-custom-plugin-on-logstash/176462 "2019-04-11T17:10:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![prodrg](https://avatars.discourse-cdn.com/v4/letter/p/3bc359/32.png) [@prodrg](https://discuss.elastic.co/u/prodrg)\
**Post date:** [April 11, 2019, 5:10pm UTC](https://discuss.elastic.co/t/issues-installing-custom-plugin-on-logstash/176462/1 "2019-04-11T17:10:40Z")

</div>

I am writing a filter plugin for Logstash and I'm following [this guide](https://www.elastic.co/guide/en/logstash/current/_how_to_write_a_logstash_filter_plugin.html).

So, I have finished the code, written everything and done some testing with rspec. Now, I have built the gem with `gem build logstash-filter-e164.gemspec` and sent it to the server where we run Logstash.

But, now running `bin/logstash-plugin install logstash-filter-e164-0.2.0.gem`, I get the following error:

```auto
Validating /tmp/logstash-filter-e164-0.2.0.gem
Installing logstash-filter-e164
ERROR: Installation Aborted, message: undefined method `[]=' for #<Bundler::Settings:0x28e94c2>
Did you mean? []

```

I have no idea what to do here, because it seems to be something from Bundler. I am using jruby-9.2.6.0.

Regards

---

<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:** [May 9, 2019, 5:10pm UTC](https://discuss.elastic.co/t/issues-installing-custom-plugin-on-logstash/176462/2 "2019-05-09T17:10:40Z")

</div>

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