agusmakmun / agusmakmun.github.io

:coffee: Free and open-source Jekyll theme
https://agusmakmun.github.io
MIT License
444 stars 568 forks source link

Gemfile Update suggestion for jekyll version 4.3.1 #75

Open lee-lindley opened 1 year ago

lee-lindley commented 1 year ago

I'm using your nice template as a jekyll site builder rather than through github pages automatic (which is seriously behind on jekyll and rouge versions). The gem 'github-pages' prevents using newer versions. For me it was very difficult to figure everything out and get it working with more up to date versions, but that is because I've tried to skate on the entire ruby/gems/jekyll stack without ever learning how it works. I fumbled through to the following Gemfile which works for me. This version of jekyll allows rouge v4.0.0 which is what I really needed. It will of course not work like you expect if using github pages directly.

# frozen_string_literal: true

source "https://rubygems.org"
# gem "rails"
gem "jekyll", "~> 4.3.1"
group :jekyll_plugins do
  gem "jekyll-paginate"
end
#gem 'github-pages', group: :jekyll_plugins
agusmakmun commented 1 year ago

@lee-lindley thank you for sharing this information, really helpful for anyone who work with it version.