debian-mirror-gitlab/doorkeeper/spec/dummy/config/boot.rb

10 lines
254 B
Ruby
Raw Normal View History

2020-01-04 02:51:38 +05:30
require 'rubygems'
require 'bundler/setup'
orm = ENV['BUNDLE_GEMFILE'].match(/Gemfile\.(.+)\.rb/)
unless defined?(DOORKEEPER_ORM)
DOORKEEPER_ORM = (orm && orm[1]) || :active_record
end
$LOAD_PATH.unshift File.expand_path('../../../../lib', __FILE__)