Wednesday, June 16, 2010

Ruby on Rails: How to uninstall a plugin in Rails

To uninstall a plugin, you can:

Case A:
1. Before you uninstall the plugin, you have to get its name. Go to the vendors directory in your app folder and get the name of the folder

2. In this case the name of the plugin is “active_scaffold”

3. Go to the directory of the app you want the plugin removed from and type in
ruby script/plugin remove active_scaffold

4. or if you’re on a Linux box
./script/plugin remove active scaffold

Case B:
- Delete the specific folder for the plugin

Case C:
- Remove it with svn delete

Case D:
- Unlink it with svn propdel svn:externals vendor/plugins/

Case E:

No comments:

Post a Comment