Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Merge pull request #9987 from robertomiranda/group-assets

Update Bundler require in getting started application
  • Loading branch information...
commit 33f6a4b775e49774bb6772162929b8bd19c66995 2 parents e2df5d0 + bbaa8ab
@rafaelfranca rafaelfranca authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 guides/code/getting_started/config/application.rb
5 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
Please sign in to comment.
Something went wrong with that request. Please try again.