You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use SASS ans Compass to generate a data-uri with the Compass method inline-image() and the command compass compile. The CSS file is generated then I call it in the css_asset_tag, but the JekyllAssetPipeline fails to compress the file depending of data.
The following content is compressed :
Interesting problem. Couple of questions: Which library are you using (e.g. Closure Compiler, YUI, etc.)? Can you compress the CSS file manually from the command line using this library? Is it throwing an error when you run the jekyll command?
I use YUI Compressor. Compressing the CSS file from the command line give an error too : YUI::Compressor::RuntimeError: compression failed. The error from Jekyll is Asset Pipeline: Compiling bundle...Failed to compress asset with 'JekyllAssetPipeline::CssCompressor'.
But I found that the problem is from YUI Compressor 2.4.4 included in ruby-yui-compressor. I tried with the version 2.4.7 from yuicompressor and it works.
I use SASS ans Compass to generate a data-uri with the Compass method
inline-image()
and the commandcompass compile
. The CSS file is generated then I call it in thecss_asset_tag
, but theJekyllAssetPipeline
fails to compress the file depending of data.The following content is compressed :
but not this one, with only one more character ! :
I do not understand what is the problem :/
The text was updated successfully, but these errors were encountered: