Browse files

Update Bundler require in getting started application

  • Loading branch information...
robertomiranda committed Mar 28, 2013
1 parent e2df5d0 commit bbaa8ab5db1649323e70cd7f725c820a5f7f0334
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 bbaa8ab

Please sign in to comment.