# Unable to install locally developed logstash plugin

**URL:** <https://discuss.elastic.co/t/unable-to-install-locally-developed-logstash-plugin/42028>\
**Category:** Logstash\
**Created:** [February 17, 2016, 1:24pm UTC](https://discuss.elastic.co/t/unable-to-install-locally-developed-logstash-plugin/42028 "2016-02-17T13:24:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinod8427](https://avatars.discourse-cdn.com/v4/letter/v/b2d939/32.png) [@vinod8427](https://discuss.elastic.co/u/vinod8427)\
**Post date:** [February 17, 2016, 1:24pm UTC](https://discuss.elastic.co/t/unable-to-install-locally-developed-logstash-plugin/42028/1 "2016-02-17T13:24:24Z")

</div>

I have developed a logstash output plugin specifically for our need. This plugin has dependency on cassandra-driver & ione gems. The intent is to install this plugin locally and our servers are hosted on a private network not having access to internet. With this my attempt to install the plugin always fails with the following error message

```
/opt/logstash/bin/plugin install --no-verify --local <path to plugin gem file>
Installing logstash-output-cassandra
Plugin version conflict, aborting
ERROR: Installation Aborted, message: Bundler could not find compatible versions for gem "cassandra-driver":
  In Gemfile:
    logstash-output-cassandra (= 0.0.1) java depends on
      cassandra-driver (>= 2.1.5, ~> 2.1) java
Could not find gem 'cassandra-driver (>= 2.1.5, ~> 2.1) java', which is required by gem 'logstash-output-cassandra (= 0.0.1) java', in any of the sources.

```

While I understand from the error that it has missing dependencies, I tried to download the gem file for cassandra-driver & ione from rubygems repository and tried manually installing them as shown below

`gem install /opt/sonus/datanode/gems/cassandra-driver-2.1.5.gem`  
`gem install /opt/sonus/datanode/gems/ione-1.2.3.gem`

That got me installed the dependencies but after which I try to install the plugin itself still gives me the same error as before. I think logstash maintains its own repository for gems lookup which is located under the path - "/opt/logstash/vendor/bundle/jruby/1.9/gems/". How can I get the dependencies and the plugin installed locally without having to connect to internet. Please somebody help me get through this issue.

**_Note: By bypassing the proxy I have always been able to install the plugin successfully but I want to install the plugin without having to connect to internet._**

---

<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:11am UTC](https://discuss.elastic.co/t/unable-to-install-locally-developed-logstash-plugin/42028/2 "2017-07-06T05:11:01Z")

</div>


