Skip to content

Instantly share code, notes, and snippets.

@ruprict
Created August 12, 2012 12:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ruprict/3331618 to your computer and use it in GitHub Desktop.
Save ruprict/3331618 to your computer and use it in GitHub Desktop.
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