Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (5 sloc) 260 Bytes
require 'bundler'
Bundler.require
environment = ENV['ENV'] || ENV['HOVERCRAFT_ENV'] || ENV['RACK_ENV'] || 'development'
ENV['ENV'] = ENV['HOVERCRAFT_ENV'] = ENV['RACK_ENV'] = 'development'
ActiveRecord::Base.establish_connection('sqlite3:///development.db')