Can I use any command to check if my application is using any plugins or not?
views:
58answers:
1
A:
Corrected answer
Just look in the vendor/plugins
directory. (If you don't have a vendor
directory, you're not using any plugins).
INCORRECT ANSWER
You want to run this from inside the main directory of your Rails app:
./script/plugin list
You can also get lots of nifty info from:
./script/plugin --help
clee
2010-01-24 13:43:25
That lists available plugins, not the ones that an application is actually using.
John Topley
2010-01-24 15:21:06
It looks like "script/plugin sources" might do it.
Wayne Conrad
2010-01-24 15:44:41
No, that lists configured plugin repositories i.e. where Rails looks when you install a plugin. There is no `script/plugin` command to list the plugins that an application is using. You just have to look under `vendor/plugins`.
John Topley
2010-01-24 15:58:15