-
Notifications
You must be signed in to change notification settings - Fork 3
Code Extensions
jtrupiano edited this page Sep 14, 2010
·
1 revision
The following items are extensions to the capistrano code base. Also, check out Recipes and Properties.
depend(:remote, :gemfile, “config/geminstaller.yml”) Aliases the depend method (with depend_without_gemfile). Proxies all calls with :type != :gemfile to the aliased method. When :type == :gemfile, the gems file is parsed (using geminstaller codebase) to iteratively call depend_without_gemfile with each gem found in the YAML file. This is still really only suitable for single-server deployments. The idea would be to add new options to the geminstaller.yml config syntax that would allow us to reference specific capistrano roles for a given gem. For instance, the database server won’t need all of our rails gems. A separate ferret server may require it’s own set of gems, etc.