asset-pipeline
Ruby on Rails 3.1 assets:precompile and images
I can\'t get the Rails 3.1 asset pipeline precompilation to work in production mode. It always fails on images referenced within SCSS with an error like:[详细]
2023-04-10 19:01 分类:问答How do I use variables in less with the Rails 3.1 Asset Pipeline
I am converting a number of less files into a r开发者_运维问答ails app, and running into problems with the processing of variables and other less features.[详细]
2023-04-10 15:34 分类:问答Asset Pipeline Cacheing CSS?
I am working on a Rails 3.1 app. I have created an application.css.scss.erb file. The .erb is in the end because I want to load a variable from the config file as the color variable in the css:[详细]
2023-04-10 12:37 分类:问答Real location of jquery in rails
One day I\'ve got jquery.js file corrupted (maybe because of my IDE, i don\'t really know), it has arbitrary number in the beginning. I can see this in the browser:[详细]
2023-04-10 12:23 分类:问答How to render new.js.coffee.erb in app/views?
Using Rails 3.1 jquery_ujs, I have a link with :remote => true, and the controller new action responds with js and render new.js.erb which contains:[详细]
2023-04-10 10:00 分类:问答How to require assets only for development environment
I\'m using the assets pipeline from Rails 3.1 and I want to include some javascript files only if it\'s the development environment.[详细]
2023-04-10 04:36 分类:问答Rails asset pipeline not working in production environment?
I have recently upgraded an app from Rails 3.0 to 3.1. I have followed any instructions I could find for enabling the asset pipeline but it always fails when in the production environment:[详细]
2023-04-10 03:37 分类:问答Rails 3.1 precompilation error in production for SWF file
I have a few .swf files that are being added to a project via a git submodule. They live in /vendor/private/widget/[详细]
2023-04-10 03:16 分类:问答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.[详细]
2023-04-10 03:00 分类:问答Add custom methods to Rails 3.1 asset pipeline?
How can I add my custom methods to my assets such as css files like Rails did with \'asset_path\' helper?[详细]
2023-04-10 02:21 分类:问答