Permalink
Browse files

Honor to RAILS_GROUPS env variable while loading gems with Bundler

  • Loading branch information...
1 parent df53c34 commit 57fd6ba4dba848c860ee142ea1fba0592519b3bf @guilleiguaran guilleiguaran committed Dec 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/generators/rails/app/templates/config/application.rb
@@ -13,7 +13,7 @@
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
-Bundler.require(:default, Rails.env)
+Bundler.require(*Rails.groups)
module <%= app_const_base %>
class Application < Rails::Application

0 comments on commit 57fd6ba

Please sign in to comment.