spec/dummy/config/application.rb in automigration-1.0.2 vs spec/dummy/config/application.rb in automigration-1.0.3
- old
+ new
@@ -1,9 +1,11 @@
require File.expand_path('../boot', __FILE__)
require 'rails/all'
-Bundler.require
+if defined?(Bundler)
+ Bundler.require(*Rails.groups(:assets => %w(development test)))
+end
require "automigration"
module Dummy
class Application < Rails::Application
# Settings in config/environments/* take precedence over those specified here.