Welcome to Jekyll!

Thanks to a friend, who happens to be a Ruby guru, I can now use jekyll to serve my pages. The instructions on the Jekyll page say: $ jekyll serve will build your site and watch changes. When I run it, I get some weird error:

[whuesken@loki wolframite]$ jekyll serve
WARN: Unresolved specs during Gem::Specification.reset:
      listen (~> 3.0)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
Configuration file: /home/whuesken/Projects/wolframite/_config.yml
  Dependency Error: Yikes! It looks like you don't have jekyll-paginate 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 -- jekyll-paginate' If you run into trouble, you can find helpful resources at http://jekyllrb.com/help/!
jekyll 3.1.1 | Error:  jekyll-paginate

Of course listen and paginator are installed. The solution is to run bundle exec jekyll serve, which is a slightly different command. To be fair, this time it was not Jekyll’s fault, it all started after I downloaded the theme…

Eventually we got it to work and here it is my shiny new page served from my home on a Raspberry Pi. There are however some things on the todo list:

  • Nothing is minified yet
  • The fonts are still pulled from Google’s CDN

Extracting the fonts to serve them locally is a huge pain in the ass and worth a separate blog article, however I think I’ll be writing about Logging next!

comments powered by Disqus