slashdotdash / jekyll-lunr-js-search

[UNSUPPORTED] Jekyll + lunr.js = static websites with powerful full-text search using JavaScript
MIT License
548 stars 109 forks source link

Error when Aerobatic attempts to build site remotely #97

Closed markorapaic closed 6 years ago

markorapaic commented 8 years ago

Hello,

I was also experiencing issue #93 - however even though some of the solutions (like this one) helped me get the gem working locally, if you're trying to use a service like Aerobatic, where the build process happens on a remote server, the local fixes obviously don't carry across.

I've tried both installation methods, and ultimately they both have dependancy issues (either locally or remotely). I referenced this plugin like so inside my config.yml file (as wel as the libv8 and therubyracer gems - which removed a previous error message I had regarding their absence):

gems:
 - libv8
 - therubyracer
 - jekyll-lunr-js-search

I've managed to get my error reports to a point where they now show this:

[ERROR]: ERROR: Error installing jekyll-lunr-js-search: invalid gem: package is corrupt, exception while verifying: undefined method `size' for nil:NilClass (NoMethodError) in /tmp/lufP0rck6Dx41w/gems/cache/libv8-3.16.14.13-x86_64-linux.gem

I can see that the error relates to libv8 v3.16.14.13 - what would you recommend I do to get around this? Is there a way to perhaps use a lower / different / more stable version of libv8? Thank you.