jamigibbs / phantom

A minimalist, responsive portfolio theme for Jekyll with Bootstrap

Home Page:http://jamigibbs.github.io/phantom/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error while running locally in ubuntu 18.04

Aceee-dev opened this issue · comments

commented

While running it locally in ubuntu 18.04, i was getting error which is attached below
error

Yep, had the same error on 20.04:

$ bundle exec jekyll serve


Configuration file: [some/path]/phantom/_config.yml
            Source: [some/path]/phantom
       Destination: [some/path]/phantom/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
         AutoPages: Disabled/Not configured in site.config.
        Pagination: Complete, processed 1 pagination page(s)
  Dependency Error: Yikes! It looks like you don't have kramdown-parser-gfm 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 -- kramdown-parser-gfm' If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/! 
  Conversion error: Jekyll::Converters::Markdown encountered an error while converting '_posts/2016-02-20-bloc-jams-angular.md':
                    kramdown-parser-gfm
             ERROR: YOUR SITE COULD NOT BE BUILT:
                    ------------------------------------
                    kramdown-parser-gfm

Fixed it by adding the following line

gem "kramdown-parser-gfm"

to the Gemfile file.

Gemfile:

# frozen_string_literal: true
gem "kramdown-parser-gfm"
source "https://rubygems.org"
gemspec

Solution found here.

commented

Thanks Andrei, that worked.