diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2013-12-01 02:12:25 -0500 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2013-12-01 02:12:25 -0500 |
commit | e898baa55357976ae600dca19a220f8edf3cb356 (patch) | |
tree | 15cc9330438b436600e5ced05b4754934bc08951 /railties | |
parent | b77356e840a5077c737a13453f3f18552e9e28af (diff) | |
download | rails-e898baa55357976ae600dca19a220f8edf3cb356.tar.gz rails-e898baa55357976ae600dca19a220f8edf3cb356.tar.bz2 rails-e898baa55357976ae600dca19a220f8edf3cb356.zip |
Honor to RAILS_GROUPS env variable while loading gems with Bundler
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/application.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/application.rb b/railties/lib/rails/generators/rails/app/templates/config/application.rb index ac41a0cadb..a8cff606b1 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/application.rb +++ b/railties/lib/rails/generators/rails/app/templates/config/application.rb @@ -15,7 +15,7 @@ require "action_mailer/railtie" # 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 |