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

22 lines (17 sloc) 0.489 kb
require 'rubygems'
require 'haml'
require 'sass'
require 'dm-core'
require 'dm-timestamps'
require 'dm-validations'
require 'bcrypt'
require 'warden'
require 'sinatra'
require 'nokogiri'
require 'builder'
require 'uv'
#Really, how the fuck would you do this another way ? =/
Dir.glob('models/*.rb') { |x| require x }
Dir.glob('lib/*.rb') { |x| require x }
BASE_PATH = File.expand_path(File.dirname(__FILE__))
DataMapper.setup :default, "sqlite3:#{File.join(BASE_PATH, 'data.sqlite')}"
Jump to Line
Something went wrong with that request. Please try again.