Top "Sprockets" questions

Sprockets is a Ruby library that preprocesses and concatenates JavaScript and CSS source files.

Sprockets encoding error on js file: invalid UTF-8 byte sequence

A Sprockets::EncodingError exception is thrown when I include a file with characters that are valid utf-8. The line in …

ruby-on-rails-3.1 sprockets
How to clear Sprockets cache?

When a Sprockets object compilation fails (due to a syntax error in CoffeeScript or SASS), it cannot recompile after the …

sprockets
Sprockets require_directory problem

I'm using Yahoo's reset.css in my new generated Rails 3.1 app. Given following app structure: - myapp - app - …

ruby-on-rails ruby-on-rails-3.1 sprockets asset-pipeline
What sprockets mean in rails

So, I just realised that I have absolutely no Idea what Sprockets are in rails. when using either bootstrap, or …

javascript ruby-on-rails sprockets
rake assets:precompile:nodigest in Rails 4

In Rails 3 there was a rake assets:precompile:nodigest task which was compiling assets and writing them without the digest …

ruby-on-rails asset-pipeline ruby-on-rails-4 sprockets
Using RequireJS with a Rails 3.1 app

Question If you've used RequireJS with a Rails 3 (esp 3.1) app, how is that working for you? Any configuration tricks or …

ruby-on-rails-3.1 sprockets requirejs
Assets say "not precompiled" when they are precompiled

Ok so, I'm getting this error when I try to use the asset pipeline. I don't understand what's causing it. …

ruby-on-rails ruby-on-rails-3.1 asset-pipeline sprockets
Rails 3.2.8 Application.js and Application.css are not working as expcted

When i try to include <%= stylesheet_link_tag "application" %> <%= javascript_include_tag "application" %> The content of …

ruby-on-rails ruby-on-rails-3.2 sprockets social-stream
Can the rails tmp/cache/assets files be safely deleted?

I seem to have a TON of them in subfolders named for example sprockets%2F76920e6913c3390459175ac8e6dfd44…

ruby-on-rails ruby sprockets