DEV: Don't require non production bundler assets in production.

DEV: Don’t require non production bundler assets in production.

diff --git a/config/application.rb b/config/application.rb
index a3ecce5..8f69e56 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -37,7 +37,7 @@ GlobalSetting.load_defaults
 
 require 'pry-rails' if Rails.env.development?
 
-if defined?(Bundler)
+if defined?(Bundler) && !Rails.env.production?
   Bundler.require(*Rails.groups(assets: %w(development test profile)))
 end

GitHub sha: a2babcaf

Fix bundler not requiring default group. Follow up to a2babcafd8264c94ebcc03d5237b2daf328d4e3e.