Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (11 sloc) 0.255 kb
dep 'existing db' do
setup {
requires "existing #{var(:db, :default => 'postgres')} db"
}
end
dep 'db gem' do
setup {
define_var :db, :choices => %w[postgres mysql]
requires var(:db) == 'postgres' ? 'pg.gem' : "#{var(:db)}.gem"
}
end
Jump to Line
Something went wrong with that request. Please try again.