spec/dummy/config/boot.rb in doorkeeper-0.4.2 vs spec/dummy/config/boot.rb in doorkeeper-0.5.0.rc1
- old
+ new
@@ -1,10 +1,6 @@
require 'rubygems'
-gemfile = File.expand_path('../../../../Gemfile', __FILE__)
+require 'bundler/setup'
-if File.exist?(gemfile)
- ENV['BUNDLE_GEMFILE'] = gemfile
- require 'bundler'
- Bundler.setup
-end
+DOORKEEPER_ORM = (ENV['DOORKEEPER_ORM'] || :active_record).to_sym unless defined?(DOORKEEPER_ORM)
-$:.unshift File.expand_path('../../../../lib', __FILE__)
\ No newline at end of file
+$:.unshift File.expand_path('../../../../lib', __FILE__)