Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
img
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

According to documenation, here are commands that needs to be run in order to get a functional jekyll local install:

$ gem install bundler
$ cat Gemfile
source 'https://rubygems.org'
gem 'github-pages', group: :jekyll_plugins
$ bundle install

In order to be up to date:

$ gem update bundler
$ bundle update

What is current version of jekyll?

bundle info jekyll
  * jekyll (3.9.0)
        Summary: A simple, blog aware, static site generator.
        Homepage: https://github.com/jekyll/jekyll
        Path: /Library/Ruby/Gems/2.6.0/gems/jekyll-3.9.0

In order to check from a fresh new site generation:

bundle exec jekyll _3.9.0_ new test

This way you can now compare your configuration with default one.

To check current theme source:

$ ls -l $(bundle info jekyll-theme-hacker | grep "Path:" | grep --only-matching "/.*")
total 32
-rw-r--r--  1 ***  staff  6555 Jun 13 22:27 LICENSE
-rw-r--r--  1 ***  staff  4814 Jun 13 22:27 README.md
drwxr-xr-x  4 ***  staff   136 Jun 13 22:27 _layouts
drwxr-xr-x  5 ***  staff   170 Jun 13 22:27 _sass
drwxr-xr-x  4 ***  staff   136 Jun 13 22:27 assets

At last to test your site locally:

bundle exec jekyll serve --drafts

Prerequisites

Instead of relying on system ruby, I prefer upgrading to latest ruby with rvm. Once rvm is installed, be sure to have latest rvm version with:

rvm get stable

Then check your ruby version:

rvm list

If it should be upgraded then type (2.6.4 is an example):

rvm install ruby-2.6.4
rvm use ruby-2.6.4

Remove previous ruby installation (2.4.1 is an example):

rvm remove ruby-2.4.1

About

my personal blog

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.