Here, I’m posting my solution for ruby / jekyll issue after MacOS update. I use jekyll for my website and few days back when I tried to update my website blog and executed bundle exec jekyll serve, I faced this issue. I don’t have the exact error messages. So please decide for yourself.
The error message suggested to execute bundle install. However, this spiralled to other errors related to unf_ext, commonmarker and other packages suggesting gem pristine installs. On trying the suggested solutions, I eventually got a message about not having the right permissions. These are the links which I went through during my search:
Finally, this is what I did:
which ruby and which gembrew doctorYour system is ready to brew. If any warnings are shown, first try to resolve them. In my case, I uninstalled homebrew completey using this LINK and reinstalled using this LINK..zshrc and .zshprofile files.brew doctor and verify that it returns Your system is ready to brew.brew install [email protected] or the version you prefer. If you run brew install ruby, then it installs [email protected] and eventually this will cause tainted object compatibility errors with jekyll theme.echo 'export PATH="/opt/homebrew/opt/[email protected]/bin:$PATH"' >> ~/.zshrc, export LDFLAGS="-L/opt/homebrew/opt/[email protected]/lib" and export CPPFLAGS="-I/opt/homebrew/opt/[email protected]/include"which ruby and which gemsassc . Pay attention to this warning and accordingly add gem 'sassc-rails' in the gemfile in local repogem install jekyllgem install bundlerbundle update and bundlebundle exec jekyll serveHope it was helpful.