# How \`lib\` folder of plugins are added to the \`$LOAD\_PATH\`

**URL:** <https://meta.discourse.org/t/how-lib-folder-of-plugins-are-added-to-the-load-path/204309>\
**Category:** Development\
**Created:** [September 23, 2021, 1:36pm UTC](https://meta.discourse.org/t/how-lib-folder-of-plugins-are-added-to-the-load-path/204309 "2021-09-23T13:36:09Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![AhmedLoud](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ahmedloud/32/576547_2.png) [@AhmedLoud](https://meta.discourse.org/u/AhmedLoud)\
**Post date:** [September 23, 2021, 5:11pm UTC](https://meta.discourse.org/t/how-lib-folder-of-plugins-are-added-to-the-load-path/204309/3 "2021-09-23T17:11:24Z")

</div>

Thank you ! That helped me understand.

I was trying to implement the same plugin system and my issue was that I was activating them later outside `application.rb`, in an initializer for example. Then the `lib` (and probably other folders) of the plugins are not added to the load path.

---

_[View the full topic](https://meta.discourse.org/t/how-lib-folder-of-plugins-are-added-to-the-load-path/204309)._
