Exception: LcpRuby::AssetPipelineError

Inherits:
Error
  • Object
show all
Defined in:
lib/lcp_ruby.rb

Overview

Raised at boot when the host’s asset pipeline can’t serve LCP’s JS/CSS. LCP ships ~50 JS files glued together by Sprockets ‘//= require` directives in `app/assets/javascripts/lcp_ruby/application.js`. On Rails 8 the default is Propshaft, which doesn’t understand those directives — the layout’s ‘<script src=…>` either 404s (Propshaft can’t resolve) or returns the 58-line manifest source as-is. Either failure mode is silent (no console errors, no logs), so we fail loud at boot instead. See docs/reference/asset-pipeline.md.

Instance Attribute Summary

Attributes inherited from Error

#i18n_interpolations, #i18n_key

Method Summary

Methods inherited from Error

#initialize, #localized_message

Constructor Details

This class inherits a constructor from LcpRuby::Error