code-312 / code-312/code-for-chicago-jekyll
Jekyll will not run correctly on Macs with the M1 Processor
- Dominant language
- SCSS
- Stars
- 9
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
When trying to run the `bundle exec jekyll serve` on a MacBook Pro with the M1 Pro processor, it throws this error:
`
bundler: failed to load command: jekyll (/usr/local/bin/jekyll)
/Library/Ruby/Gems/2.6.0/gems/nokogiri-1.11.1-x86_64-darwin/lib/nokogiri.rb:32:in `require': cannot load such file -- nokogiri/nokogiri (LoadError)
from /Library/Ruby/Gems/2.6.0/gems/nokogiri-1.11.1-x86_64-darwin/lib/nokogiri.rb:32:in `rescue in '
from /Library/Ruby/Gems/2.6.0/gems/nokogiri-1.11.1-x86_64-darwin/lib/nokogiri.rb:11:in `'
from /Library/Ruby/Gems/2.6.0/gems/algolia_html_extractor-2.6.4/lib/algolia_html_extractor.rb:3:in `require'
from /Library/Ruby/Gems/2.6.0/gems/algolia_html_extractor-2.6.4/lib/algolia_html_extractor.rb:3:in `'
from /Library/Ruby/Gems/2.6.0/gems/jekyll-algolia-1.4.11/lib/jekyll/algolia/extractor.rb:3:in `require'
from /Library/Ruby/Gems/2.6.0/gems/jekyll-algolia-1.4.11/lib/jekyll/algolia/extractor.rb:3:in `'
from /Library/Ruby/Gems/2.6.0/gems/jekyll-algolia-1.4.11/lib/jekyll-algolia.rb:12:in `require'
from /Library/Ruby/Gems/2.6.0/gems/jekyll-algolia-1.4.11/lib/jekyll-algolia.rb:12:in `'
from /Library/Ruby/Gems/2.6.0/gems/jekyll-algolia-1.4.11/lib/jekyll-algolia.rb:9:in `'
from /Library/Ruby/Gems/2.6.0/gems/jekyll-algolia-1.4.11/lib/jekyll-algolia.rb:6:in `'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/runtime.rb:60:in `require'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/runtime.rb:60:in `block (2 levels) in require'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/runtime.rb:55:in `each'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/runtime.rb:55:in `block in require'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/runtime.rb:44:in `each'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/runtime.rb:44:in `require'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler.rb:175:in `require'
from /Library/Ruby/Gems/2.6.0/gems/jekyll-3.8.7/lib/jekyll/plugin_manager.rb:51:in `require_from_bundler'
from /Library/Ruby/Gems/2.6.0/gems/jekyll-3.8.7/exe/jekyll:11:in `'
from /usr/local/bin/jekyll:23:in `load'
from /usr/local/bin/jekyll:23:in `'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/cli/exec.rb:58:in `load'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/cli/exec.rb:58:in `kernel_load'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/cli/exec.rb:23:in `run'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/cli.rb:479:in `exec'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/cli.rb:31:in `dispatch'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/cli.rb:25:in `start'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/exe/bundle:49:in `block in '
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/friendly_errors.rb:103:in `with_friendly_errors'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/exe/bundle:37:in `'
from /usr/local/bin/bundle:23:in `load'
from /usr/local/bin/bundle:23:in `'
/Library/Ruby/Gems/2.6.0/gems/nokogiri-1.11.1-x86_64-darwin/lib/nokogiri.rb:13:in `require': dlopen(/Library/Ruby/Gems/2.6.0/gems/nokogiri-1.11.1-x86_64-darwin/lib/nokogiri/2.6/nokogiri.bundle, 0x0009): tried: '/Library/Ruby/Gems/2.6.0/gems/nokogiri-1.11.1-x86_64-darwin/lib/nokogiri/2.6/nokogiri.bundle' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/lib/nokogiri.bundle' (no such file) - /Library/Ruby/Gems/2.6.0/gems/nokogiri-1.11.1-x86_64-darwin/lib/nokogiri/2.6/nokogiri.bundle (LoadError)
from /Library/Ruby/Gems/2.6.0/gems/nokogiri-1.11.1-x86_64-darwin/lib/nokogiri.rb:13:in `'
from /Library/Ruby/Gems/2.6.0/gems/algolia_html_extractor-2.6.4/lib/algolia_html_extractor.rb:3:in `require'
from /Library/Ruby/Gems/2.6.0/gems/algolia_html_extractor-2.6.4/lib/algolia_html_extractor.rb:3:in `'
from /Library/Ruby/Gems/2.6.0/gems/jekyll-algolia-1.4.11/lib/jekyll/algolia/extractor.rb:3:in `require'
from /Library/Ruby/Gems/2.6.0/gems/jekyll-algolia-1.4.11/lib/jekyll/algolia/extractor.rb:3:in `'
from /Library/Ruby/Gems/2.6.0/gems/jekyll-algolia-1.4.11/lib/jekyll-algolia.rb:12:in `require'
from /Library/Ruby/Gems/2.6.0/gems/jekyll-algolia-1.4.11/lib/jekyll-algolia.rb:12:in `'
from /Library/Ruby/Gems/2.6.0/gems/jekyll-algolia-1.4.11/lib/jekyll-algolia.rb:9:in `'
from /Library/Ruby/Gems/2.6.0/gems/jekyll-algolia-1.4.11/lib/jekyll-algolia.rb:6:in `'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/runtime.rb:60:in `require'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/runtime.rb:60:in `block (2 levels) in require'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/runtime.rb:55:in `each'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/runtime.rb:55:in `block in require'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/runtime.rb:44:in `each'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/runtime.rb:44:in `require'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler.rb:175:in `require'
from /Library/Ruby/Gems/2.6.0/gems/jekyll-3.8.7/lib/jekyll/plugin_manager.rb:51:in `require_from_bundler'
from /Library/Ruby/Gems/2.6.0/gems/jekyll-3.8.7/exe/jekyll:11:in `'
from /usr/local/bin/jekyll:23:in `load'
from /usr/local/bin/jekyll:23:in `'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/cli/exec.rb:58:in `load'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/cli/exec.rb:58:in `kernel_load'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/cli/exec.rb:23:in `run'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/cli.rb:479:in `exec'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/cli.rb:31:in `dispatch'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/cli.rb:25:in `start'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/exe/bundle:49:in `block in '
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/lib/bundler/friendly_errors.rb:103:in `with_friendly_errors'
from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.33/exe/bundle:37:in `'
from /usr/local/bin/bundle:23:in `load'
from /usr/local/bin/bundle:23:in `'
`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.