Skip to content

Instantly share code, notes, and snippets.

@roachhd
Last active August 29, 2015 14:10
Show Gist options
  • Save roachhd/1f054b0b0ce0a640b22f to your computer and use it in GitHub Desktop.
Save roachhd/1f054b0b0ce0a640b22f to your computer and use it in GitHub Desktop.
GitHub Pages Gem πŸ’Ž for Jekyll

Dependency versions

GitHub Pages uses the following dependencies and versions:

Dependency

Version

jekyll 2.4.0 jekyll-coffeescript 1.0.0 jekyll-sass-converter 1.2.0 kramdown 1.3.1 maruku 0.7.0 rdiscount 2.1.7 redcarpet 3.1.2 RedCloth 4.2.9 liquid 2.6.1 pygments.rb 0.6.0 jemoji 0.3.0 jekyll-mentions 0.1.3 jekyll-redirect-from 0.6.2 jekyll-sitemap 0.6.0 github-pages 28 ruby 2.1.1

Programmatic access

Want a more programmatic way to keep your local version of Jekyll up to date? All dependencies are bundled within the GitHub Pages Ruby gem, or are available programmatically via pages.github.com/versions.json

Jekyll The main event. You'll want to create a file in your site's repository called Gemfile and add the line gem 'github-pages'. After that, simply run the command, bundle install and you're good to go. If you decided to skip step #2, you can still install Jekyll with the command gem install github-pages, but you may run into trouble down the line. Here’s an example of a Gemfile you can use (placed in the root directory of your repository):

source 'https://rubygems.org'
gem 'github-pages'
{"jekyll":"2.4.0","jekyll-coffeescript":"1.0.0","jekyll-sass-converter":"1.2.0","kramdown":"1.3.1","maruku":"0.7.0","rdiscount":"2.1.7","redcarpet":"3.1.2","RedCloth":"4.2.9","liquid":"2.6.1","pygments.rb":"0.6.0","jemoji":"0.3.0","jekyll-mentions":"0.1.3","jekyll-redirect-from":"0.6.2","jekyll-sitemap":"0.6.0","github-pages":"28","ruby":"2.1.1"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment