Top "Sprockets" questions

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

Rails asset pipeline: Standard way for including all /vendor/assets/javascripts/?

I've been transitioning an app to Rails 3.1 (and now on to 3.2) and watched the Railscast on the asset pipeline. I …

ruby-on-rails-3.1 asset-pipeline sprockets
Sprockets File not Found Exception

I was trying out some sample applications for Rails. I created some controllers and pages. But when i try to …

ruby-on-rails sprockets
PhoneGap on iOS with absolute path URLs for assets?

Porting a web app to phoneGap on iOS, we have asset (and ajax) URLs that are absolute paths, e.g.: &…

ios url uiwebview cordova sprockets
SASS, Rails 3.1: Loading stylesheets in vendor/assets

I'm using SASS to load stylesheets in a Rails 3.1(sass-rails 3.1) app. For example, sass partials in app/assets/stylesheets are …

ruby-on-rails-3.1 sass sprockets
How assets precompile in development environment on ruby on rails?

Why can't we precompile assets in a development environment? I know that sprockets basically compile all assets. When we go …

ruby-on-rails ruby heroku sprockets
Rails 4 static assets in public/ or app/assets/

Sorry if this is a lengthy buildup to a simple question, but I wanted to get my thoughts clear. I've …

ruby-on-rails-4 asset-pipeline sprockets asset-sync
"require_tree argument must be a directory" rails 3.1.1 precompile assets

I've been round and round here with trying to get the assets to pre-compile on my production server (straightforward ubuntu …

ruby-on-rails ruby-on-rails-3 production-environment asset-pipeline sprockets
Rails 3.1 Sprockets require directives - is there a way to exclude particular files?

If I'm using //=require_tree . in application.css, is there a way to exclude particular files other than resorting to //=…

javascript ruby-on-rails sprockets
Rails dev environment not updating html/css/assets even after restarting server

I've been developing a site in rails, everything going relatively smooth. Suddenly my changes to the views and assets no …

ruby-on-rails ruby-on-rails-3 caching ruby-on-rails-3.2 sprockets
Disable Asset Pipeline/Sprockets Rails 4.1

I cannot seem to find a way to disable the Asset Pipeline in Rails 4.1. I see a lot of information …

ruby-on-rails gruntjs asset-pipeline sprockets