Tagged Questions

The asset pipeline provides a framework to concatenate and minify or compress JavaScript and CSS assets. It also adds the ability to write these assets in other languages and pre-processors such as CoffeeScript, Sass and ERB.

It's my first deploying a real application to production, and we are having some problems with speed on the website. The main problem right now is the time it takes to load the index page, so I know ...

My production Rails 4.2.3 application has assets that are not behaving correctly. I'm getting a bunch of misses on just a few assets. Naturally, they show up well enough in development.
So I thought ...

UPDATE: I have just discovered that only when I push to production do my assets appear on staging.
Whenever I add new image assets, precompile them, and deploy to staging they do not appear. However, ...

I'm using Rails 4.2.3 and am trying to customize the 404 error page in public/404.html. How can I include images from the asset pipeline?
There's an excellent post how to build dynamic custom error ...

As I continue to make progress on my app my stylesheets folder has quickly become overrun. I've read the rails guide on the asset pipeline, and scoured the internet for a reputable source and am still ...

I'm trying to include Google Analytics in my Rails app but am having problems with Rails its asset pipeline.
I created a new file (app/assets/javascripts/google-analytics.js) in which I included the ...

Looking for a way to determine where in my code or in the ember-rails/ember-rails-source this error is coming from. Using rails 3.2 and the latest ember-rails 0.19. When I precompile my assets I get ...

I have a Rails app in which my Application.js generated by sprocket somehow got merge conflicts - and I'm not sure how to remove them. In Chrome I get the the following error:
Uncaught SyntaxError: ...

I've recently tried to move all my static files into the asset pipeline. However now when I'm developing the static files I'm serving are the ones from the last precompile rake assets:precompile. I ...

I am trying to integrate components from multiple websites into my own Rails website. Their images, CSS files, and JavaScript files are numerous and scattered in deeply nested directories. If I copy ...

The Sass and JS files all get compiled correctly when I rake assets:precompile for production, I can see them in the public/assets folder. However when I try to run the app and view on a web browser ...