Skip to content

Instantly share code, notes, and snippets.

View dfl's full-sized avatar

David Löwenfels dfl

View GitHub Profile
@dfl
dfl / db.rake
Last active December 29, 2015 12:09 — forked from beatep/db.rake
require 'yaml'
require 'fileutils'
namespace :db do
desc "create the db/backup directory if it doesn't exist"
task :create_backup_dir do
FileUtils.mkdir_p backup_dir
end