# Custom Plugin in restricted network

**URL:** <https://discuss.elastic.co/t/custom-plugin-in-restricted-network/261556>\
**Category:** Logstash\
**Created:** [January 19, 2021, 2:17pm UTC](https://discuss.elastic.co/t/custom-plugin-in-restricted-network/261556 "2021-01-19T14:17:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mastersmit](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@mastersmit](https://discuss.elastic.co/u/mastersmit)\
**Post date:** [January 19, 2021, 2:17pm UTC](https://discuss.elastic.co/t/custom-plugin-in-restricted-network/261556/1 "2021-01-19T14:17:52Z")

</div>

I was trying to write a custom plugin, however when i am trying to build `bundle install` it is saying unable to connect to online ruby gems.

Is there a way to avoid going to the official source of ruby gems, as downloading from internet is prohibited.

Let me know if you require more informations.

---

<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:** [February 16, 2021, 2:18pm UTC](https://discuss.elastic.co/t/custom-plugin-in-restricted-network/261556/2 "2021-02-16T14:18:35Z")

</div>

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