Red Hat Bugzilla – Bug 1473384
Review Request: rubygem-jekyll-lunr-js-search
Last modified: 2017-08-30 05:33:54 EDT
This package won't be installable without rubygem-rubyracer >= 0.12 (not built for > F25 at all, 0.11 is in F24).
rubygem-rubyracer was retired last year: http://pkgs.fedoraproject.org/cgit/rpms/rubygem-therubyracer.git/diff/dead.package?id=4206bd0748385b34151f4f5f636dc1644f97ec95.
> The other option would be to patch upstream jekyll-lunr-js-search to rely
> for JS on rubygem-execjs instead of rubygem-therubyracer or strip out search
> completely (which is broken right now anyway in packaged version).
Yeah, that's an option too. How hard would it be?
(In reply to Zbigniew Jędrzejewski-Szmek from comment #1)
> Yeah, that's an option too. How hard would it be?
Not much probably but I don't have any Ruby experience. I've tried to code something around but everything failed in the end.
I am adding some stuff that might help users interested in porting:
https://github.com/discourse/mini_racer - pointed out by vondruch, maintained alternative to therubyracer, but API is different
https://github.com/huginn/huginn/pull/1961/commits/b1c4e5a6c8237b49e63f9a2b6e69883ae4ff3f4d#diff-ebbdd90260f85855146205da3872662c - PR of random project ported from therubyracer to mini_racer