From bbaa8ab5db1649323e70cd7f725c820a5f7f0334 Mon Sep 17 00:00:00 2001 From: robertomiranda Date: Thu, 28 Mar 2013 16:59:42 -0500 Subject: [PATCH] Update Bundler require in getting started application --- guides/code/getting_started/config/application.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/guides/code/getting_started/config/application.rb b/guides/code/getting_started/config/application.rb index 526a782b5c2b1..3d7604b659d1f 100644 --- a/guides/code/getting_started/config/application.rb +++ b/guides/code/getting_started/config/application.rb @@ -2,8 +2,9 @@ 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