Permalink
Browse files

Merge pull request #9987 from robertomiranda/group-assets

Update Bundler require in getting started application
  • Loading branch information...
2 parents e2df5d0 + bbaa8ab commit 33f6a4b775e49774bb6772162929b8bd19c66995 @rafaelfranca rafaelfranca committed Mar 28, 2013
Showing with 3 additions and 2 deletions.
  1. +3 −2 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

0 comments on commit 33f6a4b

Please sign in to comment.