Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacBook Air m1 processor bus error fixed #2

Closed
Acasia opened this issue Sep 7, 2022 · 1 comment
Closed

MacBook Air m1 processor bus error fixed #2

Acasia opened this issue Sep 7, 2022 · 1 comment

Comments

@Acasia
Copy link
Owner

Acasia commented Sep 7, 2022

So I got Jekyll 4.2 to run natively on my M1 MPB!🎉

I'm not 100% sure I've captured all the steps below that made it work but it should be the most important steps.

Here's what I did:
From: sass/sassc-ruby#146 (comment)
(re)install gems giving arch issues with native extensions
gem uninstall sassc
gem install sassc -- --disable-march-tune-native
gem uninstall ffi
gem install ffi
Update bundler for good measure
bundle update --bundler
Add webrick because otherwise Jekyll won't run on Ruby 3.0 jekyll/jekyll#8523
bundle add webrick
Make sure to rebuild everything. This threw some errors, I had to run this a few times before it worked.
bundle install --redownload
And now:
bundle exec jekyll serve
works! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant