-
Notifications
You must be signed in to change notification settings - Fork 229
Closed
Description
One of our readers has written to report a problem they've experienced with Building a static website with Jekyll and GitHub Pages. They are working on an Apple M1 Pro, running macOS Monterey version 12.6.2
/en/lessons/building-static-sites-with-jekyll-github-pages
/es/lecciones/sitios-estaticos-con-jekyll-y-github-pages
They explain that they are able to walk through the initial steps of the lesson, although they note that:
- homebrew seems to have moved since this lesson was last updated. This reader found that they needed to edit the path for homebrew and ruby before they could move on to the command
jekyll new [SiteName]
(In the lesson, we provide: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
At https://brew.sh/, they provide: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
)
- At this point, they encountered the following two error messages:
cannot load such file -- google/protobuf_c (LoadError)
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': dlopen(/Library/Ruby/Gems/2.6.0/gems/google-protobuf-3.21.12-x86_64-darwin/lib/google/2.6/protobuf_c.bundle, 0x0009): tried: '/Library/Ruby/Gems/2.6.0/gems/google-protobuf-3.21.12-x86_64-darwin/lib/google/2.6/protobuf_c.bundle' (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e))) - /Library/Ruby/Gems/2.6.0/gems/google-protobuf-3.21.12-x86_64-darwin/lib/google/2.6/protobuf_c.bundle (LoadError)
- They were unable to find a way to force install the
protobuf
gem. This seems to be an Issue related to the gem not having been updated for M1 architecture.