We are just starting a new project and want to come up with a easy way install a list of common plugins that we've been using. What's better than writing a plugin to install other plugins?
With the help of the
highline gem, I wrote a simple rake task that read in a list of plugins from YAML file.
Install:
|
./script/plugin install http://plugin-install.googlecode.com/svn/trunk/plugin_install |
Usage:
It'll read the "plugins.yml" file copied to your /config directory and lets you choose Yes/No to install each one.
plugins.yml example:
1
2
3
4
5
6
7
8
9
10
11
12
|
plugins:
acts_as_ferret:
url: "svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret"
restful_authentication:
url: "http://svn.techno-weenie.net/projects/plugins/restful_authentication/"
rspec:
url: "svn://rubyforge.org/var/svn/rspec/tags/REL_0_9_4/rspec"
rspec_on_rails:
url: "svn://rubyforge.org/var/svn/rspec/tags/REL_0_9_4/rspec_on_rails"
.
.
. |
Note: Also get the "
rapt" gem for discovering rails plugins.
Sorry, comments are closed for this article.