John Topley’s Weblog

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

Comments

There is 1 comment on this post. Comments are closed.


Archives

  • Jan
  • Feb
  • Mar
  • Apr
  • May
  • Jun
  • Jul
  • Aug
  • Sep
  • Oct
  • Nov
  • Dec
  • 2019
  • 2018
  • 2017
  • 2016
  • 2015
  • 2014

More Archives


Sign In