sprockets-rails icon indicating copy to clipboard operation
sprockets-rails copied to clipboard

Sprockets Rails integration

Results 81 sprockets-rails issues
Sort by recently updated
recently updated
newest added

Before assets:clean would leave assets with an mtime greater than 3600 seconds ago. I've requested `age` to be added to the Rake::SprocketsTask in https://github.com/rails/sprockets/pull/677/

Is it useful to have another example of customization here? `log_level` is a pretty common thing to configure, I imagine. It might be nice, also, to have an example of...

because Sprockets throws an error when "manifest" is missing, it's impossible to compile assets, and then delete the source folder. this is a really bad direction for people who use...

I was just bitten by a rather annoying bug in sprocket-rails 3.2.1, the result of which was that in development mode I was seeing wrong URLs. I tracked this down...

**Assets precompile not working properly** root@5aec0baa9b95:/myapp# rake assets:precompile --trace ** Invoke assets:precompile (first_time) ** Invoke assets:environment (first_time) ** Execute assets:environment ** Invoke environment (first_time) ** Execute environment ** Execute assets:precompile...

> Each asset task will invoke assets:environment first. By default this loads the Rails environment. You can override this task to add or remove dependencies for your specific compilation environment....

Context. Ruby ruby-2.5.5, Rails 5.2.3, Sprockets 3.7.2, Sprockets-rails 3.2.1 Running a project with lots and lots of css and js assets. Problem: When running with `config.assets.debug = true ` I...

After hours of debugging long latency on the first call to `ActionView::Helpers::AssetUrlHelper.asset_path` in development, I finally discovered the performance benefits of disabling `config.assets.check_precompiled_asset` via this issue: https://github.com/rails/sprockets-rails/issues/352 this reduced time...

Clearing tmp/cache/assets is necesasry to regenerate assets correctly, but `rails assets:clean` or `rails assets:clobber` does not clear tmp/cache/assets. I spent hours to solve cache issue after changing config.assets.prefix... While it...

Have run into an issue caused by #197 because I want to generate new assets dynamically in a directive, and Sprockets raises an error when trying to include the newly...