summaryrefslogtreecommitdiff
path: root/config/environments/development.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/environments/development.rb')
-rw-r--r--config/environments/development.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 1ec813b..6828857 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -31,4 +31,8 @@ GitlabCi::Application.configure do
config.eager_load = false
config.action_mailer.delivery_method = :letter_opener
+ # Adds additional error checking when serving assets at runtime.
+ # Checks for improperly declared sprockets dependencies.
+ # Raises helpful error messages.
+ config.assets.raise_runtime_errors = true
end