debian-mirror-gitlab/doorkeeper/spec/dummy/config/boot.rb
2020-01-04 02:51:38 +05:30

9 lines
254 B
Ruby

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__)