Top "Asset-pipeline" questions

The asset pipeline provides a framework to concatenate and minify or compress JavaScript and CSS assets.

Failed to decode downloaded font, OTS parsing error: invalid version tag + rails 4

I am doing assets pre-compile, and running the application in production mode. After compilation when I load the my index …

css asset-pipeline ruby-on-rails-4.1 custom-font
Using fonts with Rails asset pipeline

I have some fonts being configured in my Scss file like so: @font-face { font-family: 'Icomoon'; src: asset-url('icoMoon.eot?#iefix', …

ruby-on-rails sass asset-pipeline font-face assets
Rails 4: how to use $(document).ready() with turbo-links

I ran into an issue in my Rails 4 app while trying to organize JS files "the rails way". They were …

javascript jquery ruby-on-rails-4 asset-pipeline turbolinks
Rails 4 image-path, image-url and asset-url no longer work in SCSS files

Are we supposed to use something else aside from image-url and others in Rails 4? They return different values that don't …

ruby-on-rails asset-pipeline ruby-on-rails-4
rake assets:precompile RAILS_ENV=production not working as required

I am trying to precompile assets using the command rake assets:precompile RAILS_ENV=production, but I always get the …

ruby-on-rails ruby-on-rails-3 ruby-on-rails-3.2 asset-pipeline precompile
Rails 4: assets not loading in production

I'm trying to put my app into production and image and css asset paths aren't working. Here's what I'm currently …

ruby-on-rails ruby asset-pipeline ruby-on-rails-4
rails 3.1.0 ActionView::Template::Error (application.css isn't precompiled)

I made a basic rails app with a simple pages controller with an index function and when I load the …

ruby-on-rails asset-pipeline
No route matches [GET] /assets

I have a Rails app that I'm trying to test in the production environment. I ran RAILS_ENV=production rake …

ruby-on-rails ruby-on-rails-3 asset-pipeline
Using Rails 3.1, where do you put your "page specific" JavaScript code?

To my understanding, all of your JavaScript gets merged into 1 file. Rails does this by default when it adds //= require_…

javascript ruby-on-rails ruby-on-rails-3.1 asset-pipeline sprockets
ExecJS::RuntimeError on Windows trying to follow rubytutorial

UPDATE: Colin's suggestion of removing the line //= require_tree . has fixed the issue. I have wasted over 2 days trying to …

javascript ruby-on-rails ruby windows asset-pipeline