git: 5ca051dd3f - main - Upgrade macOS instructions in FDP
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 28 Jan 2023 09:39:39 UTC
The branch main has been updated by carlavilla: URL: https://cgit.FreeBSD.org/doc/commit/?id=5ca051dd3f8798bd3e43820fcf7466ece968b7a0 commit 5ca051dd3f8798bd3e43820fcf7466ece968b7a0 Author: CiarĂ¡n Ainsworth <ciaranainsworth@posteo.net> AuthorDate: 2023-01-28 09:38:52 +0000 Commit: Sergio Carlavilla Delgado <carlavilla@FreeBSD.org> CommitDate: 2023-01-28 09:38:52 +0000 Upgrade macOS instructions in FDP PR: 269191 --- documentation/content/en/books/fdp-primer/overview/_index.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/content/en/books/fdp-primer/overview/_index.adoc b/documentation/content/en/books/fdp-primer/overview/_index.adoc index b728d23a9c..1c7ca13739 100644 --- a/documentation/content/en/books/fdp-primer/overview/_index.adoc +++ b/documentation/content/en/books/fdp-primer/overview/_index.adoc @@ -258,7 +258,7 @@ $ brew install hugo ruby git bmake + [source,shell] .... -$ echo 'export GEM_PATH="/usr/local/lib/ruby/gems/3.1.0"' >> ~/.zshrc +$ echo 'export GEM_PATH="$(gem environment gemdir)"' >> ~/.zshrc $ echo 'export PATH="$(brew --prefix ruby)/bin:$PATH"' >> ~/.zshrc $ source ~/.zshrc .... @@ -286,7 +286,7 @@ Repeat until all of the errors are resolved. + [source,shell] .... -$ bmake run LOCALBASE=/usr USE_RUBYGEMS=YES +$ bmake run LOCALBASE=/opt/homebrew USE_RUBYGEMS=YES .... . Add all the files with `git add .`, then review the diff with `git diff`. For example: +