-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Can't Build Site Locally: bundle install failed with "An error occurred while installing nokogiri (1.8.4)" #1150
Comments
I know I've hit this more than once before, googled it before, resolved it somehow, and then forgotten what I did. see e.g. sparklemotion/nokogiri#1504 If anyone knows the solution, we should add it to the doc here. (And yes, I should have done it myself before... ah, well, I guess I didn't know yet whether it would turn into something of an FAQ.) Or maybe whatever nokogiri problem this is isn't the same one I hit, I just know that I remember nokogiri being trouble. |
i had some problem with ruby ecosystem too, and just use docker, as i mention at docker support pull request. |
I think I remember now that But also, I hit this today and And the upshot is, this fixes it: |
(I opened #1286 on my troubles with this option) |
closing on the assumption that any trouble is fixable via some combination of:
93510f5 adds a link to this ticket from the readme |
sigh, on my M1 Mac on macOS 12.1 (Monterey) I'm getting:
|
this seems promising: https://www.earthinversion.com/blogging/how-to-install-jekyll-on-appple-m1-macbook/ |
that worked |
In case it doesn't work, try: |
#2779 may also be helpful for Mac users |
I try to build and view the site locally. When I run
bundle install
, I gotWhen I installed nokogiri manually and successfully by running
gem install nokogiri -v '1.8.4' --source 'https://rubygems.org/'
, and then runbundle install
, same error appears.I am using macOS Sierra version 10.12.3
The text was updated successfully, but these errors were encountered: