1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00
heartcombo--devise/test/rails_app/config/boot.rb
2010-11-26 00:55:16 -02:00

13 lines
335 B
Ruby

unless defined?(DEVISE_ORM)
DEVISE_ORM = (ENV["DEVISE_ORM"] || :active_record).to_sym
end
begin
require File.expand_path("../../../../.bundle/environment", __FILE__)
rescue LoadError
require 'rubygems'
require 'bundler'
Bundler.setup :default, :test, DEVISE_ORM
end
$:.unshift File.expand_path('../../../../lib', __FILE__)