# How to get the list of installed plugins?

**URL:** <https://www.ruby-forum.com/t/how-to-get-the-list-of-installed-plugins/153113>\
**Category:** Rails\
**Created:** [November 12, 2008, 11:39am UTC](https://www.ruby-forum.com/t/how-to-get-the-list-of-installed-plugins/153113 "2008-11-12T11:39:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jej](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b782af/32.png) [@Jej](https://www.ruby-forum.com/u/Jej)\
**Post date:** [November 12, 2008, 11:39am UTC](https://www.ruby-forum.com/t/how-to-get-the-list-of-installed-plugins/153113/1 "2008-11-12T11:39:34Z")

</div>

Hi all,

Is there a simple way to get a list of installed plugins in an app? I  
need name and version of each running plugin. I saw some methods in  
the API, but related to the loading of plugins.

Thanks,  
Jej

---

<div class="post-metadata">

**Author:** ![Jej](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b782af/32.png) [@Jej](https://www.ruby-forum.com/u/Jej)\
**Post date:** [November 12, 2008, 2:47pm UTC](https://www.ruby-forum.com/t/how-to-get-the-list-of-installed-plugins/153113/2 "2008-11-12T14:47:33Z")

</div>

“ruby script/plugin list”

---

<div class="post-metadata">

**Author:** ![Jej](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b782af/32.png) [@Jej](https://www.ruby-forum.com/u/Jej)\
**Post date:** [November 12, 2008, 5:38pm UTC](https://www.ruby-forum.com/t/how-to-get-the-list-of-installed-plugins/153113/3 "2008-11-12T17:38:27Z")

</div>

Thanks for that, but this command doesn’t list the plugins I have  
under /myapp/vendor/plugins

I need this to make an about page that gives the rails version,  
installed plugins, etc.

---

<div class="post-metadata">

**Author:** ![Jej](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b782af/32.png) [@Jej](https://www.ruby-forum.com/u/Jej)\
**Post date:** [November 12, 2008, 8:43pm UTC](https://www.ruby-forum.com/t/how-to-get-the-list-of-installed-plugins/153113/4 "2008-11-12T20:43:54Z")

</div>

doh, run from your rails app root:

list = Dir[“vendor/plugins/\*”]

---

<div class="post-metadata">

**Author:** ![Jej](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b782af/32.png) [@Jej](https://www.ruby-forum.com/u/Jej)\
**Post date:** [November 13, 2008, 9:59am UTC](https://www.ruby-forum.com/t/how-to-get-the-list-of-installed-plugins/153113/5 "2008-11-13T09:59:42Z")

</div>

Thanks you very much, that does the trick!

Jerome
