Moncef Belyamani
banner
moncefbelyamani.com
Moncef Belyamani
@moncefbelyamani.com
Frustrated with Ruby and gem installation issues? Get back on track with Ruby on Mac (rubyonmac.dev).

Need help upgrading your old Rails app? Check out my consulting services: rubyonmac.dev/services
As always, run "rom --help" to see the latest commands, and "rom history" for release notes.
September 15, 2025 at 9:29 PM
Thanks for the glowing review! I’m glad it saved you time and frustration. Let me know if there’s anything else you’d wish were automated.
July 16, 2025 at 11:58 AM
Reposted by Moncef Belyamani
This is a fantastic example of someone seeing a problem in the market and making a product to fix it. I gladly paid the price and I would do it again and again.

Completely recommended.

www.rubyonmac.dev/p
www.rubyonmac.dev
April 22, 2025 at 8:05 PM
You are definitely not the only one. There are many factors that can affect Ruby installation on Mac. The most common ones are in the post pinned to my profile. Try those, along with the free articles on rubyonmac.dev. Or just buy Ruby on Mac, and you won’t have to worry about this ever again.
Ruby on Mac: Get Ruby working on your Mac in minutes with a single command.
Get Ruby working on your Mac in minutes, and peace of mind that you’ll always have a working Ruby dev setup.
rubyonmac.dev
July 16, 2025 at 11:14 AM
4. Make sure you are not specifying any Ruby or gem compilation settings or ENV vars that can affect installation. The most common places are the global ~/.bundle/config, the .bundle/config in the root of your project, your shell startup files, and ENV vars set by your project.
July 12, 2025 at 9:19 PM
3. Make sure gems are up to date. For example, the mysql2 gem didn’t add support for Apple Silicon until version 0.5.4, so you won’t be able to install versions older than that.

Run “bundle outdated” to see outdated gems, and use a tool like the bummr gem to update them.

github.com/thought-driv...
GitHub - thought-driven/bummr: Update your gems in separate commits. Identify any that fail your build.
Update your gems in separate commits. Identify any that fail your build. - thought-driven/bummr
github.com
July 12, 2025 at 9:19 PM
Example: if your project needs Ruby 2.7.x, update it to the latest patch version (the 3rd digit): 2.7.8. There are known issues with older patch versions.

Follow my step-by-step guide for upgrading your project’s Ruby version: rubyonmac.dev/how-to-upgra...
Ruby
Check end-of-life, release policy and support schedule for Ruby.
endoflife.date
July 12, 2025 at 9:19 PM