From 13cafc094712787bf0e5ad0b1dc0e4eb764920d9 Mon Sep 17 00:00:00 2001 From: Jamie Winsor Date: Sun, 14 Aug 2011 19:31:36 -0700 Subject: Syntax fixes for Ruby 1.8.7 --- spec/dummy/config/application.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'spec/dummy/config/application.rb') diff --git a/spec/dummy/config/application.rb b/spec/dummy/config/application.rb index 60df716..e67cf82 100644 --- a/spec/dummy/config/application.rb +++ b/spec/dummy/config/application.rb @@ -3,7 +3,12 @@ require File.expand_path('../boot', __FILE__) require 'rails/all' require 'bundler/setup' -Bundler.require + +# If you have a Gemfile, require the default gems, the ones in the +# current environment and also include :assets gems if in development +# or test environments. +Bundler.require *Rails.groups(:assets) if defined?(Bundler) + require 'refinerycms-blog' module Dummy -- cgit v1.2.3