Skip to content

Issues with installing ruby 3.4.1 #2491

Discussion options

You must be logged in to vote

Hi, looks like some issue with the build toolchain on your machine. The output of clang looks alright, except that mine (M1 MacBook Pro) shows a different InstalledDir:

$ clang -v
Apple clang version 16.0.0 (clang-1600.0.26.6)
Target: arm64-apple-darwin24.1.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

You can try sudo xcode-select --reset to reset the location of the build toolchain used.

Do you have binutils installed from Homebrew and linked into PATH by any chance? Check with brew info binutils. Those are known to sabotage Ruby installs and should never be linked (fix with brew unlink binutils). Apart from t…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Adenhall
Comment options

Answer selected by mislav
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 participants
Converted from issue

This discussion was converted from issue #2490 on January 10, 2025 07:19.