Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jekyll --lsi unable to find gsl even though it is installed #652

Closed
gotofritz opened this issue Oct 6, 2012 · 4 comments
Closed

Jekyll --lsi unable to find gsl even though it is installed #652

gotofritz opened this issue Oct 6, 2012 · 4 comments

Comments

@gotofritz
Copy link

Hi. Thanks for Jekyll, it is awesome. Having a problem with running jekyll --lsi on OS X.

I installed the gsl gem after I installed jekyll, using this tip http://hi.baidu.com/rainchen/item/e9f24fc009c227340831c6a2

The gem is installed because running gem specification gsl produces the following

--- !ruby/object:Gem::Specification
  name: gsl
version: !ruby/object:Gem::Version
  version: 1.14.7
.... etc

And yet when i run jekyll with --lsi i get

Notice: for 10x faster LSI support, please install http://rb-gsl.rubyforge.org/

What's wrong? Thanks in advance.

@agarie
Copy link

agarie commented Oct 7, 2012

rb-gsl is an interface to the highly optimized GNU Scientific Library. So the message is just saying that you can improve the performance 10x if you use it. Nothing to be really concerned about, except if you have large quantities of pages to be processed. :)

@gotofritz
Copy link
Author

Hi, thanks for the prompt answer.

Well, I DO have a lot of posts to be processed, and it's taking a while - still waiting now after 15 mins... that's why I installed gsl, hoping for an improvement, but it isn't being detected.

@agarie
Copy link

agarie commented Oct 7, 2012

Hmmm, do you really have GSL correctly installed on your machine? Is gsl-config in your PATH?

If GSL and the gem are installed correctly, maybe it's a problem with the Classifier gem, which is used by Jekyll. The file that's throwing the LoadError exception triggering the "Notice: for 10x faster ..." is this one. I hope that helps!

@gotofritz
Copy link
Author

Hi. I can run gsl-config fine, so it must be in the path. Thanks for the link, but my Ruby is not good enough to start debugging. In the end I found a different related posts plugin that does a decent job using tags. I actually prefer it to long statistical analysis, as I have more control on what post is related to what that way.

Thanks for your help anyway.

@jekyll jekyll locked and limited conversation to collaborators Feb 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants