Repository navigation
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: |
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 |
|
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. |
|
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. |
|
@Dante1349
|
|
@Dante1349 I have updated my Mac. The issue persists. for more context, these are the reasons I'm installing Ruby. |
|
@monfresh Thank you very much. I appreciate this, it now works.
|
|
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, |




@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