Skip to content

Failed to build older Ruby versions on Catalina #1852

Locked Answered by mislav
coding-bunny asked this question in Build failures
Discussion options

You must be logged in to vote

Answering for posterity, since people keep discovering these outdated threads in search results:

As macOS and its Command Line Tools get upgrades, older versions of Ruby will become harder or impossible to build. This is just the state of the world that we live in. Compatibility is further complicated by newer Mac machines having moved to Apple Silicon architecture, where it is even less likely to build an older version of Ruby. The solution: update Ruby in your application.

Some people discover and share workarounds such as setting arcane CFLAGS settings or using arch -x86_64 to trick things to be compiled for amd64 architecture even while on arm64, but these workarounds are more trouble…

Replies: 11 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mislav
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
7 participants
Converted from issue

This discussion was converted from issue #1480 on December 26, 2021 12:07.