title: Dependency Error: Yikes! It looks like you don't have _plugins/lunrjs/jekyll_lunr_js_search.rb or one of its dependencies installed
body: <p><strong>When compiling Jekyll project with plugin <a href="https://github.com/slashdotdash/jekyll-lunr-js-search" rel="nofollow noreferrer">jekyll_lunr_js_search</a> always getting following error in windows. However it compiles on gitlabci.</strong></p>
  
  <p>Dependency Error: Yikes! It looks like you don't have D:/myproject/_plugins/lunrjs/jekyll_lunr_js_search.rb or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. The full error message from Ruby is: 'cannot load such file -- v8' If you run into trouble, you can find helpful resources at <a href="https://jekyllrb.com/help/" rel="nofollow noreferrer">https://jekyllrb.com/help/</a>!</p>
  
  <p><strong>Upon using <code>gem install jekyll-lunr-js-search</code> following error:</strong></p>
  
  <pre><code>C:\MyProj&gt;gem install jekyll-lunr-js-search
  Fetching: json-2.0.3.gem (100%)
  Temporarily enhancing PATH to include DevKit...
  Building native extensions.  This could take a while...
  Successfully installed json-2.0.3
  Fetching: ref-2.0.0.gem (100%)
  Successfully installed ref-2.0.0
  Fetching: libv8-3.16.14.19.gem (100%)
  Building native extensions.  This could take a while...
  ERROR:  Error installing jekyll-lunr-js-search:
          ERROR: Failed to build gem native extension.
  
      current directory: C:/APPs/Ruby23-x64/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.19/ext/libv8
  C:/APPs/Ruby23-x64/bin/ruby.exe -r ./siteconf20170310-14120-1y669dw.rb extconf.rb
  creating Makefile
  The system cannot find the path specified.
  C:/APPs/Ruby23-x64/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.19/ext/libv8/builder.rb:86:in `setup_python!': libv8 requires python 2 to be installed in order to build, but it is currently 3.4.4 (RuntimeError)
          from C:/APPs/Ruby23-x64/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.19/ext/libv8/builder.rb:53:in `build_libv8!'
          from C:/APPs/Ruby23-x64/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.19/ext/libv8/location.rb:24:in `install!'
          from extconf.rb:7:in `&lt;main&gt;'
  
  extconf failed, exit code 1
  
  Gem files will remain installed in C:/APPs/Ruby23-x64/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.19 for inspection.
  Results logged to C:/APPs/Ruby23-x64/lib/ruby/gems/2.3.0/extensions/x64-mingw32/2.3.0/libv8-3.16.14.19/gem_make.out
  </code></pre>
  
  <p>** FILE CONTENTS (gem_make.out)**</p>
  
  <pre><code>current directory: C:/APPs/Ruby23-x64/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.19/ext/libv8
  C:/APPs/Ruby23-x64/bin/ruby.exe -r ./siteconf20170310-14120-1y669dw.rb extconf.rb
  creating Makefile
  The system cannot find the path specified.
  C:/APPs/Ruby23-x64/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.19/ext/libv8/builder.rb:86:in `setup_python!': libv8 requires python 2 to be installed in order to build, but it is currently 3.4.4 (RuntimeError)
      from C:/APPs/Ruby23-x64/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.19/ext/libv8/builder.rb:53:in `build_libv8!'
      from C:/APPs/Ruby23-x64/lib/ruby/gems/2.3.0/gems/libv8-3.16.14.19/ext/libv8/location.rb:24:in `install!'
      from extconf.rb:7:in `&lt;main&gt;'
  
  extconf failed, exit code 1
  </code></pre>
  
  <p><strong>NOTE:</strong>
  I've both python v2 and v3 installed and working fine. Tested python shell using <code>py -2</code> output follows:</p>
  
  <pre><code>C:\&gt;py -2
  Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)] on win32
  Type "help", "copyright", "credits" or "license" for more information.
  &gt;&gt;&gt;
  </code></pre>