jekyll-assets
jekyll-assets copied to clipboard
Liquid Exception: no implicit conversion of Symbol into Integer in /_layouts/default.html
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.
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.
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