mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
13 lines
No EOL
327 B
Ruby
13 lines
No EOL
327 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, DEVISE_ORM
|
|
end
|
|
|
|
$:.unshift File.expand_path('../../../../lib', __FILE__) |