diff --git a/documentation/Makefile b/documentation/Makefile --- a/documentation/Makefile +++ b/documentation/Makefile @@ -41,7 +41,7 @@ GEMBASE?= ${LOCALBASE} .endif -RUBY_CMD = ${GEMBASE}/bin/ruby +RUBY_CMD ?= ${LOCALBASE}/bin/ruby HUGO_CMD = ${LOCALBASE}/bin/hugo HUGO_ARGS?= --minify HUGO_OFFLINE_ARGS?= --environment offline --verbose --minify diff --git a/documentation/content/en/books/fdp-primer/overview/_index.adoc b/documentation/content/en/books/fdp-primer/overview/_index.adoc --- a/documentation/content/en/books/fdp-primer/overview/_index.adoc +++ b/documentation/content/en/books/fdp-primer/overview/_index.adoc @@ -253,10 +253,6 @@ [.procedure] ==== -[TIP] -====== -Hugo version 0.90 or higher must be used -====== . Install these packages using link:https://brew.sh/[Homebrew] and link:https://rubygems.org/[RubyGem]. + @@ -274,6 +270,13 @@ $ source ~/.zshrc .... + +. Add git alias to Homebrew git since `git format-patch` from Apple-provided git won't work with Phabricator. ++ +[source,shell] +.... +$ echo 'alias git=/usr/local/bin/git' >> ~/.zshrc +$ source ~/.zshrc +.... . Install the rouge package using RubyGem. + [source,shell] @@ -297,7 +300,7 @@ + [source,shell] .... -$ bmake run LOCALBASE=/opt/homebrew USE_RUBYGEMS=YES +$ bmake run USE_RUBYGEMS=YES RUBY_CMD=$(brew --prefix ruby)/bin/ruby .... . Add all the files with `git add .`, then review the diff with `git diff`. For example: +