Skip to content

Cannot install ruby 3.2.2 with rbenv on macOS 13.5 #2293

Discussion options

You must be logged in to vote

@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

Replies: 7 comments 25 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
20 replies
@Dante1349
Comment options

@Dante1349
Comment options

@mislav
Comment options

@Dante1349
Comment options

Answer selected by Dante1349
@Dante1349
Comment options

@mislav
Comment options

@Dante1349
Comment options

@Dante1349
Comment options

Comment options

You must be logged in to vote
3 replies
@Dante1349
Comment options

@rhedwan
Comment options

@Dante1349
Comment options

Comment options

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

Comment options

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

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 participants
Converted from issue

This discussion was converted from issue #2288 on November 06, 2023 00:37.