From 725bbd1a36809183335c4b08444202c67dbada54 Mon Sep 17 00:00:00 2001 From: Michael Kohlhase <michael.kohlhase@fau.de> Date: Thu, 21 Dec 2017 06:32:59 +0100 Subject: [PATCH] adding gemfile and changing description to bundle --- Gemfile | 2 ++ README.md | 11 ++++++----- 2 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 Gemfile diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..37f5eaa --- /dev/null +++ b/Gemfile @@ -0,0 +1,2 @@ +source 'https://rubygems.org' +gem 'github-pages', group: :jekyll_plugins diff --git a/README.md b/README.md index 2e7c1df..e240c8b 100644 --- a/README.md +++ b/README.md @@ -66,19 +66,20 @@ you with the exact same versions used by GitHub to compile your site. If you already have Ruby, the install part should be as easy as ~~~ -gem install github-pages +gem install bundler +bundle install ~~~ -Note that you will need Ruby headers (`ruby-dev` package on Ubuntu) in -order to compile C dependencies. +in the local clone of this repository. -On OS X, you can just type `sudo gem install github-pages`. + Note that you will need Ruby headers (`ruby-dev` package on Ubuntu) in +order to compile C dependencies. On OS X, just prefix these lines by a sudo. Now you can `cd` into your local clone of the repository and launch the compilation by ~~~ -jekyll serve -w -b'' +bundle exec jekyll serve ~~~ Your site will be generated in a `_site` sub-directory, and served -- GitLab