git: 5ca051dd3f - main - Upgrade macOS instructions in FDP

Sergio Carlavilla Delgado <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by carlavilla:

URL: https://cgit.FreeBSD.org/doc/commit/?id=5ca051dd3f8798bd3e43820fcf7466ece968b7a0

commit 5ca051dd3f8798bd3e43820fcf7466ece968b7a0
Author:     Ciarán Ainsworth <[email protected]>
AuthorDate: 2023-01-28 09:38:52 +0000
Commit:     Sergio Carlavilla Delgado <[email protected]>
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:
 +
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.