Skip to content

Conversation

@mickeytgl
Copy link

@mickeytgl mickeytgl commented Jan 13, 2026

ReActionView's dev-tools assets were not found when using Propshaft because it used Sprockets-specific asset path registration.

Changed from Rails::Railtie to Rails::Engine, which automatically registers app/assets directories with both Sprockets and Propshaft.

I did notice the comment suggesting to put config.assets.precompile -= ReActionView::Railtie::PRECOMPILE_ASSETS in the initializer once I dug in and that works well, but I think it's still worth it since this would fix the root cause and it saves some time for people on propshaft from running into an error

Example

CleanShot 2026-01-13 at 13 34 56@2x

ReActionView's dev-tools assets were not found when using Propshaft
(Rails 8's default asset pipeline) because it used Sprockets-specific
asset path registration.

Changed from Rails::Railtie to Rails::Engine, which automatically
registers app/assets directories with both Sprockets and Propshaft.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant