Cannot install ruby 3.2.2 with rbenv on macOS 13.5 #2293
-
When i try to run
it fails with this output:
i tried running it like this but also had no luck:
thats the output i get then:
|
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 25 replies
-
Hi, first a minor note:
Second, the "last 10 log lines" output rarely includes the actual build failure, in my experience. Please look into the log file indicated at the |
Beta Was this translation helpful? Give feedback.
-
Thank you, i will try to look up in the logfile, but openssl@3 is also not working since this is my default installation in homebrew. I will provide more logs then. |
Beta Was this translation helpful? Give feedback.
-
when i run it with openssl@3 i get this in the logfile:
the crash log thats mentioned here does not exist. There is no clang_* file. Maybe there is a permission problem. |
Beta Was this translation helpful? Give feedback.
-
@Dante1349 ![]() |
Beta Was this translation helpful? Give feedback.
-
@Dante1349 I have updated my Mac. The issue persists. for more context, these are the reasons I'm installing Ruby. |
Beta Was this translation helpful? Give feedback.
-
@monfresh Thank you very much. I appreciate this, it now works. ![]() |
Beta Was this translation helpful? Give feedback.
-
Same problem,finally solved with a simple and crude way: Since my brew was migrated from intel chip, doing this will clean all the files installed in /usr/local, |
Beta Was this translation helpful? Give feedback.
@mislav I tried reinstalling the command line tools and xcode, also restarting. But this does nothing here. We have the same problem un multiple macs of the same type. Its an M2 Max CPU we have a server mac with another M2 type that runs without problems, but the notebooks with the M2 Max seem not to be able to install ruby.
Whats really interesting is that the MAKE_OPTS fixed the install! Maybe its about the CPU, the Max has more cores than the default one. If you want i can send you more information on the model. This is the command which finally fixed the installation for us:
RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix openssl@3)" MAKE_OPTS='-j2' rbenv install 3.2.2