ECM Capistrano yaml_db recipes
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
.rvmrc
Gemfile
Gemfile.lock
MIT-LICENSE
README.rdoc
ecm_capistrano_yaml_db.gemspec

README.rdoc

Installation

Do not bundle the gem.

  1. Install it via gem install:

> gem install ecm_capistrano_yaml_db
  1. require it in your deploy.rb file:

require 'ecm_capistrano_yaml_db'

Usage

To dump the data to data.yml:

cap <stage> db:data:dump

To load the data from data.yml:

cap <stage> db:data:load!