Skip to content

Instantly share code, notes, and snippets.

@twmills
Created August 29, 2010 18:56
Show Gist options
  • Select an option

  • Save twmills/556567 to your computer and use it in GitHub Desktop.

Select an option

Save twmills/556567 to your computer and use it in GitHub Desktop.
#----------------------------------------------------------------------------
# Capistrano
#----------------------------------------------------------------------------
capify!
file 'Capfile', <<-FILE
load 'deploy' if respond_to?(:namespace) # cap2 differentiator
Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
load 'config/deploy'
FILE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment