test/dummy/config/boot.rb in delayed_job_admin-1.0.2 vs test/dummy/config/boot.rb in delayed_job_admin-1.0.3
- old
+ new
@@ -2,9 +2,11 @@
gemfile = File.expand_path('../../../../Gemfile', __FILE__)
if File.exist?(gemfile)
ENV['BUNDLE_GEMFILE'] = gemfile
require 'bundler'
- Bundler.setup
+ require 'bundler/setup'
+ require 'rails/all'
+ require 'delayed_job'
end
$:.unshift File.expand_path('../../../../lib', __FILE__)
\ No newline at end of file