Closed RichardBray closed 11 years ago
It looks like the error is being caused by the YUI Compressor. Have you tried to use YUI outside of Jekyll Asset Pipeline? If you get the error w/o Jekyll Asset Pipeline, you should submit an issue on the YUI Github.
Hi guys,
When I try using jekyll asset pipeline with rails installer on windows I keep getting this error, any ideas?
Asset Pipeline: Processing 'css_asset_tag' manifest 'global' Asset Pipeline: Failed to compress 'global-6014501a2a1982eae283555474c690e6.css' with 'JekyllAssetPipeline::CssCompresso r'. Liquid Exception: Invalid argument - java -jar C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/yui-compressor-0.9.6 /lib/yui/../yuicompressor-2.4.4.jar --type css --charset utf-8 in default C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/open3.rb:202:in
spawn' C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/open3.rb:202:in
popen_run' C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/open3.rb:90:inpopen3' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/win32-open3-19-0.0.2/lib/win32/open3.rb:5:in
popen4' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/POpen4-0.1.4/lib/popen4.rb:48:inpopen4' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/yui-compressor-0.9.6/lib/yui/compressor.rb:68:in
block in compress ' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/yui-compressor-0.9.6/lib/yui/compressor.rb:117:instreamify' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/yui-compressor-0.9.6/lib/yui/compressor.rb:66:in
compress' C:/Users/Rich/Documents/GitHub/Muffin/chip/_plugins/jekyll_asset_pipeline.rb:11:incompress' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jekyll-asset-pipeline-0.1.6/lib/jekyll_asset_pipeline/compressor.rb :7:in
initialize' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jekyll-asset-pipeline-0.1.6/lib/jekyll_asset_pipeline/pipeline.rb:1 76:innew' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jekyll-asset-pipeline-0.1.6/lib/jekyll_asset_pipeline/pipeline.rb:1 76:in
block in compress' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jekyll-asset-pipeline-0.1.6/lib/jekyll_asset_pipeline/pipeline.rb:1 68:ineach' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jekyll-asset-pipeline-0.1.6/lib/jekyll_asset_pipeline/pipeline.rb:1 68:in
compress' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jekyll-asset-pipeline-0.1.6/lib/jekyll_asset_pipeline/pipeline.rb:1 02:inprocess' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jekyll-asset-pipeline-0.1.6/lib/jekyll_asset_pipeline/pipeline.rb:9 0:in
initialize' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jekyll-asset-pipeline-0.1.6/lib/jekyll_asset_pipeline/pipeline.rb:3 1:innew' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jekyll-asset-pipeline-0.1.6/lib/jekyll_asset_pipeline/pipeline.rb:3 1:in
run' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jekyll-asset-pipeline-0.1.6/lib/jekyll_asset_pipeline/extensions/li quid/liquid_block_extensions.rb:18:inrender' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/liquid-2.4.1/lib/liquid/block.rb:94:in
block in render_all' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/liquid-2.4.1/lib/liquid/block.rb:92:incollect' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/liquid-2.4.1/lib/liquid/block.rb:92:in
render_all' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/liquid-2.4.1/lib/liquid/block.rb:82:inrender' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/liquid-2.4.1/lib/liquid/template.rb:124:in
render' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/liquid-2.4.1/lib/liquid/template.rb:132:inrender!' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jekyll-0.12.0/lib/jekyll/convertible.rb:101:in
do_layout' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jekyll-0.12.0/lib/jekyll/page.rb:100:inrender' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jekyll-0.12.0/lib/jekyll/site.rb:204:in
block in render' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jekyll-0.12.0/lib/jekyll/site.rb:203:ineach' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jekyll-0.12.0/lib/jekyll/site.rb:203:in
render' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jekyll-0.12.0/lib/jekyll/site.rb:41:inprocess' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jekyll-0.12.0/bin/jekyll:253:in
block in <top (required)>' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/directory_watcher-1.4.1/lib/directory_watcher.rb:580:incall' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/directory_watcher-1.4.1/lib/directory_watcher.rb:580:in
block in n otify_observers' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/directory_watcher-1.4.1/lib/directory_watcher.rb:579:ineach' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/directory_watcher-1.4.1/lib/directory_watcher.rb:579:in
notify_obs ervers' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/directory_watcher-1.4.1/lib/directory_watcher.rb:334:inblock in i nitialize' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/directory_watcher-1.4.1/lib/directory_watcher/scanner.rb:224:in
ca ll' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/directory_watcher-1.4.1/lib/directory_watcher/scanner.rb:224:inno tify' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/directory_watcher-1.4.1/lib/directory_watcher/scanner.rb:102:in
ru n_once' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/directory_watcher-1.4.1/lib/directory_watcher/scanner.rb:150:inru n_loop' C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/directory_watcher-1.4.1/lib/directory_watcher/scanner.rb:45:in
blo ck in start' Build Failed