Forem

Valentino Stoll
Valentino Stoll

Posted on • Originally published at blog.codenamev.com on

2

How to fix all Ruby "Failed to build gem native extension" Errors in OS X

cp /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg ~/Desktop && open ~/Desktop/macOS_SDK_headers_for_macOS_10.14.pkg
Enter fullscreen mode Exit fullscreen mode

How to fix all Ruby

Boom. Now start removing all those pesky overrides you set in ~/.bundle/config

All credit goes to the amazing João Rocha da Silva. Be sure to check out his detailed write-up on why you need to do this. TLDR; Mac OS X 10.14 no longer places the include libraries in the standard /usr/include directory and locked by SIP.

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more

Top comments (0)

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay