views:

58

answers:

1

Can I use any command to check if my application is using any plugins or not?

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
That lists available plugins, not the ones that an application is actually using.
John Topley
It looks like "script/plugin sources" might do it.
Wayne Conrad
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