3.4.4 build fails on macOS 15.5 Intel #2539
-
I successfully installed 3.4.4 on 15.5 on an Intel MacBook Pro, but it's failing to work on a different machine (27" iMac Intel). (So, I'm 1 for 2). I've installed several rubies on several machines in the past. This is the first build problem I've had. I ran I've found a few references, but for older rubies and OSs, and not quite the same error. Don't feel I know enough to go poking around and editing things. The Console
Sometimes running things twice works, not in this case. The Log
Looking for any ideas on how to fix or kickstart a build a different way. What other info would you need? Thanks for your time. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The fact that you are able to install it on one machine but not the 27" Intel iMac means there is something broken with your development environment. There are many factors that can affect Ruby installation on a Mac, but a broken, outdated, or misconfigured development environment is one of the most common ones. I have a 27" Intel iMac as well, and I have no issues installing Ruby 3.4.4. Based on my experience helping hundreds of thousands of people install Ruby on macOS over the past 13 years, the only solution that is guaranteed to work in every case is to completely clean up your dev setup, and reinstall everything from scratch. I built a product that can do this cleanup (including a backup) in less than 60 seconds, and then it can automate the reinstallation of everything needed for Ruby. Here are a few things you can try before doing the cleanup:
|
Beta Was this translation helpful? Give feedback.
Thanks for the tips.
As a work-related "production" machine for a certain set of projects this computer has only ever had one ruby version and one rails version installed. So, I would think the environment would be fairly unmolested. But, it also means I installed stuff 4-5 years ago and left it.
However,
brew doctor
(which I forgot about), did complain about CLT being old (even though I have the latest OS and full XCode installed). That gave me the rabbit hole to go down, and see there was an old brew installed CLT version in addition to the full XCode. Deleting that old brew version, and letting XCode take over was the ticket. After I deleted the brew CLT, all went well.For future folk…