How to get the list of installed plugins?

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

"ruby script/plugin list"

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.

doh, run from your rails app root:

  list = Dir["vendor/plugins/*"]

Thanks you very much, that does the trick!

Jerome