Create a gist now

Instantly share code, notes, and snippets.

Riddle
require 'sinatra'
require 'dm-core'
require 'dm-migrations'
require 'sass'
require 'slim'
configure do
DataMapper.setup(:default, ENV['DATABASE_URL'] || File.join("sqlite3://",settings.root, "development.db"))
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment