# Logstash Ruby Error with Local built Gem

**URL:** <https://discuss.elastic.co/t/logstash-ruby-error-with-local-built-gem/173256>\
**Category:** Logstash\
**Created:** [March 21, 2019, 7:11am UTC](https://discuss.elastic.co/t/logstash-ruby-error-with-local-built-gem/173256 "2019-03-21T07:11:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![paul1243](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@paul1243](https://discuss.elastic.co/u/paul1243)\
**Post date:** [March 21, 2019, 7:11am UTC](https://discuss.elastic.co/t/logstash-ruby-error-with-local-built-gem/173256/1 "2019-03-21T07:11:23Z")

</div>

Hi-  
I have added the locally built gem in the logstash gem file, and did the bundle install and updated the plugins and so I could see the gem has been added to the gemfile.lock

I have a .dll files which has been added in the bin folder in the gem. When I require the gem inside the logstash conf file, it throws error saying dll unknown; but dll is present inside the gem bin folder.

```auto
[2019-03-21T11:53:27,699][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=>9600}
[2019-03-21T11:53:30,006][ERROR][logstash.filters.ruby] Ruby exception occurred: Could not open library 'C:/Users/IC021588/Downloads/logstash-master/vendor/bundle/jruby/2.3.0/gems/test_gem-2.1.0/bin/IECClientAccess.dll' : unknown

```

I use the dll to for some other methods to talk to windows servers.  
Please let me know what could be the issue. Thanks !

---

<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:** [April 18, 2019, 7:11am UTC](https://discuss.elastic.co/t/logstash-ruby-error-with-local-built-gem/173256/2 "2019-04-18T07:11:23Z")

</div>

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