# How can I install my own plugin written in Ruby?

**URL:** https://meta.discourse.org/t/how-can-i-install-my-own-plugin-written-in-ruby/349762
**Category:** Development
**Tags:** email
**Created:** [January 30, 2025, 4:42pm UTC](https://meta.discourse.org/t/how-can-i-install-my-own-plugin-written-in-ruby/349762 "2025-01-30T16:42:45Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [January 31, 2025, 7:36pm UTC](https://meta.discourse.org/t/how-can-i-install-my-own-plugin-written-in-ruby/349762/4 "2025-01-31T19:36:15Z")

</div>

Did you put your plugin in a github repo?

You can’t just stick a `plugin.rb` in `/lib` it has to be in plugins, and in production, you need to add it via github as described in [Install plugins on a self-hosted site](https://meta.discourse.org/t/install-plugins-on-a-self-hosted-site/19157)

> [@Xavier\_Garzon](#):
>
> I also checked my plugins folder in the container (/var/www/discourse/plugins) and it seems that my plugin is not being copied. Maybe that is part of the problem.

Yes. If it’s not there, it’s not there.

You really want to read all of those plugin topics. You also want to do your testing in a development environment.

---

_[View the full topic](https://meta.discourse.org/t/how-can-i-install-my-own-plugin-written-in-ruby/349762)._
