Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (14 sloc) 0.362 kB
require 'rubygems'
require 'bundler'
Bundler.setup
namespace :db do
desc "Loads our environment for various tasks that need it"
task :environment do
require 'shorty/model'
DataMapper::Logger.new($stdout, :debug)
end
desc "Migrate the database" # Convention for Heroku
task(:migrate => :environment) do
DataMapper.auto_upgrade!
end
end
Jump to Line
Something went wrong with that request. Please try again.