Rails Tip #11: Add Plugin Repositories

It’s something of a secret that you can configure the source code repositories the Rails plugin manager searches when you instruct it to install a plugin. This can be handy if you’re installing several plugins from the same author. Such as this one. Or this one.

To add a repository to the plugin manager:

./script/plugin source http://svn.techno-weenie.net/projects/plugins/

To remove a repository from the plugin manager:

./script/plugin unsource http://svn.techno-weenie.net/projects/plugins/

To list repositories registered with the plugin manager:

./script/plugin sources

To discover and list repositories without adding them:

./script/plugin discover -l

One Response to “Rails Tip #11: Add Plugin Repositories”

  1. adam Says:

    Nice tip, thanks for posting.

Leave a Reply