jekyll-assets icon indicating copy to clipboard operation
jekyll-assets copied to clipboard

Liquid Exception: no implicit conversion of Symbol into Integer in /_layouts/default.html

Open jeffblake opened this issue 5 years ago • 2 comments

https://github.com/envygeeks/jekyll-assets/issues/575 from January is still open, but locked for some reason. I haven't been able to deploy a new website update since then due to this bug. I'm sorry for opening another issue about it, but I don't know what else to do.

jeffblake avatar Jul 15 '19 00:07 jeffblake

In my case the problem appeared when I tried to update bootstrap from 4.1.3 to the latest version.

My investigation: The problematic code runs only if the crass gem is installed. bootstrap from version 4.2.1 transitively depends on crass: bootstrap => sassc-rails => railties => actionpack => rails-html-sanitizer => loofah => crass.

Pinning bootstrap to 4.1.3 solved my problem, temporarily.

sashee avatar Oct 09 '19 12:10 sashee

Just hit this as well, looking at the plugin/alternates.rb here the code is expecting o to be an object/hash but it's really CSS string - with @alternate bits in it and the whole thing blows up there

dramalho avatar Oct 27 '19 11:10 dramalho