Adding config.serve_static_assets = false
to development.rb
will prevent loading files from /public/assets
.
Actually I need to precompile locally because my test mode is using only static assets from /public/assets
– tests are catching possible production asset problems. How? Just set config.assets.compile = false
and config.serve_static_assets = true
in test.rb
configuration.