# Can't load costum output plugin with win32ole

**URL:** <https://discuss.elastic.co/t/cant-load-costum-output-plugin-with-win32ole/68890>\
**Category:** Logstash\
**Created:** [December 13, 2016, 3:19pm UTC](https://discuss.elastic.co/t/cant-load-costum-output-plugin-with-win32ole/68890 "2016-12-13T15:19:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![itzikHan](https://avatars.discourse-cdn.com/v4/letter/i/eb8c5e/32.png) [@itzikHan](https://discuss.elastic.co/u/itzikHan)\
**Post date:** [December 13, 2016, 3:19pm UTC](https://discuss.elastic.co/t/cant-load-costum-output-plugin-with-win32ole/68890/1 "2016-12-13T15:19:37Z")

</div>

I have a new plugin file i did for LogStash, in which i am calling an external C# dll i have made.

(Noob in both c# and ruby, So bare with me)

In the plugin, I'm trying to require the following:

```
require "logstash/outputs/base"
require "logstash/namespace"
require "win32ole"

```

and i'm getting the following error:

> !!!! Missing jruby-win32ole gem: jruby -S gem install jruby-win32ole

And:

> Trying to load the newPlugin output plugin resulted in this error: no such file to load -- jruby-win32ole"

I tried different ways to solve this (mostly guessing), And non succeeded.

Using version: 5.1.1

Any help would be appreciated!

---

<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:** [January 10, 2017, 3:20pm UTC](https://discuss.elastic.co/t/cant-load-costum-output-plugin-with-win32ole/68890/2 "2017-01-10T15:20:28Z")

</div>

Closed on January 10, 2017, 3:20pm UTC

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