rbenv fails to install any ruby version on Mac OSX Big Sur - 11.4 #1865
Unanswered
Th3G4mbl3r
asked this question in
Build failures
Replies: 4 comments
-
@Th3G4mbl3r m1? |
Beta Was this translation helpful? Give feedback.
0 replies
-
No, Intel based Mac... |
Beta Was this translation helpful? Give feedback.
0 replies
-
I could install 2.6.7 with macOS 11.4
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to use rbenv to install Ruby on my mac OSX Big Sur - 11.4.
The command fails with the following errors:
Triage details
Further debugging of the issue shows that the reason the installation fails for any version of Ruby is because on MacOS X Big Sur 11.4,
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
is not a valid directory location.This can be seen in the below output:
I had to manually create a symlink to bypass the error and continue.
Expected behaviour: Installation of Ruby should be successful. Ideally,
rbenv
andruby-build
plugin should be able to identify that if it is being installed on MacOS 11 then the directory locations need to be different as compared to versions of MacOS X prior to Big Sur.Beta Was this translation helpful? Give feedback.
All reactions