sprockets
Rails 3.1 assets pipline CSS and action mailer
I am wondering if it is just my lac开发者_Python百科k of understanding. I have a action mailer that using a bunch of asset via the image_tag and config.action_mailer.asset_host in the config. As I am[详细]
2023-04-13 05:13 分类:问答Use sprockets 2.0 on both local and prod (php)environments with minimal hassle
While I recognize the dependency handling of sprockets is awesome, I have little knowledge on how to use it properly to make it meet my needs.[详细]
2023-04-12 03:32 分类:问答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 分类:问答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 分类:问答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 //=require_directory and tree orga开发者_StackOverflow社区nization?[详细]
2023-04-10 02:29 分类:问答Asset Subdirectories in Rails 3.1
I have a Rails 3.1 app with an image: app/assets/images/icons/button.png It seems like the image should be served at this URL:[详细]
2023-04-09 23:00 分类:问答how to prevent sprockets from caching a .erb file?
Sprockets gem caches .erb files even though the ruby code in those might evaluate differently on every compilation[详细]
2023-04-09 04:31 分类:问答app does not load engine's assets via sprockets
I am trying to rewrite an app using rails 3.1 making use of engines. Somehow the test dumm开发者_运维问答y app does not pick up my assets and I don\'t know what would be causing this. i.e. stylesheets[详细]
2023-04-08 04:01 分类:问答Rails 3.1 is very slow in development-mode because of assets, what to do?
After I added S开发者_JAVA百科prockets, Rails is loading very slow in development mode, what should I do to speed it up?Take a look at https://github.com/wavii/rails-dev-tweaks.[详细]
2023-04-07 12:06 分类:问答Rails sprocket Error compiling CSS assest - CHOWN issue
I\'ve been breaking my head over this for over 2 days now, and can\'t seem to figure out where the problem is. This is mostly a problem related to my setup, but if anyone could help me find a solution[详细]
2023-04-07 09:45 分类:问答