Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Honor to RAILS_GROUPS env variable while loading gems with Bundler

  • Loading branch information...
commit e898baa55357976ae600dca19a220f8edf3cb356 1 parent b77356e
@guilleiguaran guilleiguaran authored
View
2  railties/lib/rails/generators/rails/app/templates/config/application.rb
@@ -15,7 +15,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
Please sign in to comment.
Something went wrong with that request. Please try again.