Upgrade nokogiri gem in MacOS catalina

Recently i tried to upgrade to new nokogiri version 1.10.5 and was not able to as the latest mac OS has moved some system folders around. For me the following steps worked. Assuming you already installed xcode.

  • sudo xcodebuild -license accept

  • sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

3 thoughts on “Upgrade nokogiri gem in MacOS catalina

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.