Update json gem and use bundler

- json 1.8.3 was failing to install on Mac. Upgrading has fixed this.
- Call jekyll through bundler so that Gemfile versions
This commit is contained in:
Rob Young
2017-08-25 12:33:14 +01:00
parent 44f3acad1e
commit 07931517e3
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -6,13 +6,13 @@ help: ## Show this help.
all: build ## Build site with production settings and put deliverables in _site.
build: ## Build site with production settings and put deliverables in _site.
jekyll build
bundle exec jekyll build
build-preview: ## Build site with drafts and future posts enabled.
jekyll build --drafts --future
bundle exec jekyll build --drafts --future
serve: ## Boot the development server.
jekyll serve
bundle exec jekyll serve
stage: ## Run the Jekyll staging container.
docker run -ti --rm -v "${PWD}":/k8sdocs -p 4000:4000 gcr.io/google-samples/k8sdocs:1.1