From 5c8d0c5884ea310b02ab6b07de18db92c7efd2b9 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Sat, 5 Jul 2014 12:59:11 +0200 Subject: [PATCH] activate lsi indexing, speed it up on OS X --- Gemfile | 6 +++++- Gemfile.lock | 15 +++++++++++++++ Gruntfile.js | 3 ++- 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index 82e4126c..fb1fd0e8 100644 --- a/Gemfile +++ b/Gemfile @@ -4,4 +4,8 @@ source "https://rubygems.org" # gem "rails" gem 'jekyll', '1.5.1' gem 'mini_magick', '>=3.6.0' -gem 'fileutils', '>=0.7' \ No newline at end of file +gem 'fileutils', '>=0.7' + +#for faster LSI generation +gem 'narray', :git => "https://github.com/tonyarnold/narray" +gem 'gsl', :git => "https://github.com/tonyarnold/rb-gsl" \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock index 296143f6..42de1f71 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,3 +1,16 @@ +GIT + remote: https://github.com/tonyarnold/narray + revision: eeb06b030320a222727e41f11a2f0be300f9dd52 + specs: + narray (0.6.0.8) + +GIT + remote: https://github.com/tonyarnold/rb-gsl + revision: 659a95fd9b610c02e38035b956feceb5c29e1ecb + specs: + gsl (1.14.7) + narray (>= 0.5.9) + GEM remote: https://rubygems.org/ specs: @@ -55,5 +68,7 @@ PLATFORMS DEPENDENCIES fileutils (>= 0.7) + gsl! jekyll (= 1.5.1) mini_magick (>= 3.6.0) + narray! diff --git a/Gruntfile.js b/Gruntfile.js index 2c06fdef..299dc3f0 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -46,7 +46,8 @@ module.exports = function(grunt){ jekyll: { options: { src : '<%= config.src %>/', - config: './_config.yml' + config: './_config.yml', + lsi: true }, production: { options: {