From bbaa8ab5db1649323e70cd7f725c820a5f7f0334 Mon Sep 17 00:00:00 2001 From: robertomiranda Date: Thu, 28 Mar 2013 16:59:42 -0500 Subject: Update Bundler require in getting started application --- guides/code/getting_started/config/application.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'guides/code/getting_started/config/application.rb') diff --git a/guides/code/getting_started/config/application.rb b/guides/code/getting_started/config/application.rb index 526a782b5c..3d7604b659 100644 --- a/guides/code/getting_started/config/application.rb +++ b/guides/code/getting_started/config/application.rb @@ -2,8 +2,9 @@ require File.expand_path('../boot', __FILE__) require 'rails/all' -# Assets should be precompiled for production (so we don't need the gems loaded then) -Bundler.require(*Rails.groups(assets: %w(development test))) +# Require the gems listed in Gemfile, including any gems +# you've limited to :test, :development, or :production. +Bundler.require(:default, Rails.env) module Blog class Application < Rails::Application -- cgit v1.2.3